function __cons(t, a) {
    return eval("new t(" + a.map(function(e, t) {
        return "a[" + t + "]"
    }).join(",") + ")")
}

function validate(e, t) {
    var r = JSON.parse(e),
        n = (r.type ? validateData[r.type] : r.regExp) || null;
    if (r.required && !t) return Yt.tips(r.required), !1;
    if (r.minLength && t.length < r.minLength) return Yt.tips(r.minLengthMessage), !1;
    if (r.maxLength && t.length > r.maxLength) return Yt.tips(r.maxLengthMessage), !1;
    if (r.max && parseFloat(t) > parseFloat(r.max)) return Yt.tips(r.maxMessage), !1;
    if (r.min && parseFloat(t) < parseFloat(r.min)) return Yt.tips(r.minMessage), !1;
    if (n && !n.test(t)) {
        var o = (r.type || "regExp") + "Message";
        return Yt.tips(r[o]), !1
    }
    return !0
}! function(e, t) {
    function r(e) {
        var t = he[e] = {};
        return K.each(e.split(ee), function(e, r) {
            t[r] = !0
        }), t
    }

    function n(e, r, n) {
        if (n === t && 1 === e.nodeType) {
            var o = "data-" + r.replace(ye, "-$1").toLowerCase();
            if ("string" == typeof(n = e.getAttribute(o))) {
                try {
                    n = "true" === n || "false" !== n && ("null" === n ? null : +n + "" === n ? +n : de.test(n) ? K.parseJSON(n) : n)
                } catch (q) {}
                K.data(e, r, n)
            } else n = t
        }
        return n
    }

    function o(e) {
        var t;
        for (t in e)
            if (("data" !== t || !K.isEmptyObject(e[t])) && "toJSON" !== t) return !1;
        return !0
    }

    function i() {
        return !1
    }

    function a() {
        return !0
    }

    function s(e) {
        return !e || !e.parentNode || 11 === e.parentNode.nodeType
    }

    function u(e, t) {
        do {
            e = e[t]
        } while (e && 1 !== e.nodeType);
        return e
    }

    function c(e, t, r) {
        if (t = t || 0, K.isFunction(t)) return K.grep(e, function(e, n) {
            return !!t.call(e, n, e) === r
        });
        if (t.nodeType) return K.grep(e, function(e, n) {
            return e === t === r
        });
        if ("string" == typeof t) {
            var n = K.grep(e, function(e) {
                return 1 === e.nodeType
            });
            if (Pe.test(t)) return K.filter(t, n, !r);
            t = K.filter(t, n)
        }
        return K.grep(e, function(e, n) {
            return K.inArray(e, t) >= 0 === r
        })
    }

    function l(e) {
        var t = Fe.split("|"),
            r = e.createDocumentFragment();
        if (r.createElement)
            for (; t.length;) r.createElement(t.pop());
        return r
    }

    function f(e, t) {
        return e.getElementsByTagName(t)[0] || e.appendChild(e.ownerDocument.createElement(t))
    }

    function p(e, t) {
        if (1 === t.nodeType && K.hasData(e)) {
            var r, n, o, i = K._data(e),
                a = K._data(t, i),
                s = i.events;
            if (s) {
                delete a.handle, a.events = {};
                for (r in s)
                    for (n = 0, o = s[r].length; n < o; n++) K.event.add(t, r, s[r][n])
            }
            a.data && (a.data = K.extend({}, a.data))
        }
    }

    function h(e, t) {
        var r;
        1 === t.nodeType && (t.clearAttributes && t.clearAttributes(), t.mergeAttributes && t.mergeAttributes(e), "object" === (r = t.nodeName.toLowerCase()) ? (t.parentNode && (t.outerHTML = e.outerHTML), K.support.html5Clone && e.innerHTML && !K.trim(t.innerHTML) && (t.innerHTML = e.innerHTML)) : "input" === r && Ge.test(e.type) ? (t.defaultChecked = t.checked = e.checked, t.value !== e.value && (t.value = e.value)) : "option" === r ? t.selected = e.defaultSelected : "input" === r || "textarea" === r ? t.defaultValue = e.defaultValue : "script" === r && t.text !== e.text && (t.text = e.text), t.removeAttribute(K.expando))
    }

    function d(e) {
        return "undefined" != typeof e.getElementsByTagName ? e.getElementsByTagName("*") : "undefined" != typeof e.querySelectorAll ? e.querySelectorAll("*") : []
    }

    function y(e) {
        Ge.test(e.type) && (e.defaultChecked = e.checked)
    }

    function g(e, t) {
        if (t in e) return t;
        for (var r = t.charAt(0).toUpperCase() + t.slice(1), n = t, o = gt.length; o--;)
            if ((t = gt[o] + r) in e) return t;
        return n
    }

    function m(e, t) {
        return e = t || e, "none" === K.css(e, "display") || !K.contains(e.ownerDocument, e)
    }

    function v(e, t) {
        for (var r, n, o = [], i = 0, a = e.length; i < a; i++)(r = e[i]).style && (o[i] = K._data(r, "olddisplay"), t ? (!o[i] && "none" === r.style.display && (r.style.display = ""), "" === r.style.display && m(r) && (o[i] = K._data(r, "olddisplay", E(r.nodeName)))) : (n = tt(r, "display"), !o[i] && "none" !== n && K._data(r, "olddisplay", n)));
        for (i = 0; i < a; i++)(r = e[i]).style && (t && "none" !== r.style.display && "" !== r.style.display || (r.style.display = t ? o[i] || "" : "none"));
        return e
    }

    function b(e, t, r) {
        var n = ct.exec(t);
        return n ? Math.max(0, n[1] - (r || 0)) + (n[2] || "px") : t
    }

    function w(e, t, r, n) {
        for (var o = r === (n ? "border" : "content") ? 4 : "width" === t ? 1 : 0, i = 0; o < 4; o += 2) "margin" === r && (i += K.css(e, r + yt[o], !0)), n ? ("content" === r && (i -= parseFloat(tt(e, "padding" + yt[o])) || 0), "margin" !== r && (i -= parseFloat(tt(e, "border" + yt[o] + "Width")) || 0)) : (i += parseFloat(tt(e, "padding" + yt[o])) || 0, "padding" !== r && (i += parseFloat(tt(e, "border" + yt[o] + "Width")) || 0));
        return i
    }

    function x(e, t, r) {
        var n = "width" === t ? e.offsetWidth : e.offsetHeight,
            o = !0,
            i = K.support.boxSizing && "border-box" === K.css(e, "boxSizing");
        if (n <= 0 || null == n) {
            if (((n = tt(e, t)) < 0 || null == n) && (n = e.style[t]), lt.test(n)) return n;
            o = i && (K.support.boxSizingReliable || n === e.style[t]), n = parseFloat(n) || 0
        }
        return n + w(e, t, r || (i ? "border" : "content"), o) + "px"
    }

    function E(e) {
        if (pt[e]) return pt[e];
        var t = K("<" + e + ">").appendTo($.body),
            r = t.css("display");
        return t.remove(), "none" !== r && "" !== r || (rt = $.body.appendChild(rt || K.extend($.createElement("iframe"), {
            frameBorder: 0,
            width: 0,
            height: 0
        })), nt && rt.createElement || ((nt = (rt.contentWindow || rt.contentDocument).document).write("<!doctype html><html><body>"), nt.close()), t = nt.body.appendChild(nt.createElement(e)), r = tt(t, "display"), $.body.removeChild(rt)), pt[e] = r, r
    }

    function T(e, t, r, n) {
        var o;
        if (K.isArray(t)) K.each(t, function(t, o) {
            r || bt.test(e) ? n(e, o) : T(e + "[" + ("object" == typeof o ? t : "") + "]", o, r, n)
        });
        else if (r || "object" !== K.type(t)) n(e, t);
        else
            for (o in t) T(e + "[" + o + "]", t[o], r, n)
    }

    function S(e) {
        return function(t, r) {
            "string" != typeof t && (r = t, t = "*");
            var n, o, i = t.toLowerCase().split(ee),
                a = 0,
                s = i.length;
            if (K.isFunction(r))
                for (; a < s; a++) n = i[a], (o = /^\+/.test(n)) && (n = n.substr(1) || "*"), (e[n] = e[n] || [])[o ? "unshift" : "push"](r)
        }
    }

    function _(e, r, n, o, i, a) {
        i = i || r.dataTypes[0], (a = a || {})[i] = !0;
        for (var s, u = e[i], c = 0, l = u ? u.length : 0, f = e === Pt; c < l && (f || !s); c++) "string" == typeof(s = u[c](r, n, o)) && (!f || a[s] ? s = t : (r.dataTypes.unshift(s), s = _(e, r, n, o, s, a)));
        return (f || !s) && !a["*"] && (s = _(e, r, n, o, "*", a)), s
    }

    function j(e, r) {
        var n, o, i = K.ajaxSettings.flatOptions || {};
        for (n in r) r[n] !== t && ((i[n] ? e : o || (o = {}))[n] = r[n]);
        o && K.extend(!0, e, o)
    }

    function A(e, r, n) {
        var o, i, a, s, u = e.contents,
            c = e.dataTypes,
            l = e.responseFields;
        for (i in l) i in n && (r[l[i]] = n[i]);
        for (;
            "*" === c[0];) c.shift(), o === t && (o = e.mimeType || r.getResponseHeader("content-type"));
        if (o)
            for (i in u)
                if (u[i] && u[i].test(o)) {
                    c.unshift(i);
                    break
                }
        if (c[0] in n) a = c[0];
        else {
            for (i in n) {
                if (!c[0] || e.converters[i + " " + c[0]]) {
                    a = i;
                    break
                }
                s || (s = i)
            }
            a = a || s
        }
        if (a) return a !== c[0] && c.unshift(a), n[a]
    }

    function N(e, t) {
        var r, n, o, i, a = e.dataTypes.slice(),
            s = a[0],
            u = {},
            c = 0;
        if (e.dataFilter && (t = e.dataFilter(t, e.dataType)), a[1])
            for (r in e.converters) u[r.toLowerCase()] = e.converters[r];
        for (; o = a[++c];)
            if ("*" !== o) {
                if ("*" !== s && s !== o) {
                    if (!(r = u[s + " " + o] || u["* " + o]))
                        for (n in u)
                            if ((i = n.split(" "))[1] === o && (r = u[s + " " + i[0]] || u["* " + i[0]])) {
                                !0 === r ? r = u[n] : !0 !== u[n] && (o = i[0], a.splice(c--, 0, o));
                                break
                            }
                    if (!0 !== r)
                        if (r && e["throws"]) t = r(t);
                        else try {
                            t = r(t)
                        } catch (X) {
                            return {
                                state: "parsererror",
                                error: r ? X : "No conversion from " + s + " to " + o
                            }
                        }
                }
                s = o
            }
        return {
            state: "success",
            data: t
        }
    }

    function k() {
        try {
            return new e.XMLHttpRequest
        } catch (t) {}
    }

    function O() {
        try {
            return new e.ActiveXObject("Microsoft.XMLHTTP")
        } catch (t) {}
    }

    function C() {
        return setTimeout(function() {
            zt = t
        }, 0), zt = K.now()
    }

    function D(e, t) {
        K.each(t, function(t, r) {
            for (var n = (Kt[t] || []).concat(Kt["*"]), o = 0, i = n.length; o < i; o++)
                if (n[o].call(e, t, r)) return
        })
    }

    function M(e, t, r) {
        var n, o = 0,
            i = Jt.length,
            a = K.Deferred().always(function() {
                delete s.elem
            }),
            s = function() {
                for (var t = zt || C(), r = Math.max(0, u.startTime + u.duration - t), n = 1 - (r / u.duration || 0), o = 0, i = u.tweens.length; o < i; o++) u.tweens[o].run(n);
                return a.notifyWith(e, [u, n, r]), n < 1 && i ? r : (a.resolveWith(e, [u]), !1)
            },
            u = a.promise({
                elem: e,
                props: K.extend({}, t),
                opts: K.extend(!0, {
                    specialEasing: {}
                }, r),
                originalProperties: t,
                originalOptions: r,
                startTime: zt || C(),
                duration: r.duration,
                tweens: [],
                createTween: function(t, r, n) {
                    var o = K.Tween(e, u.opts, t, r, u.opts.specialEasing[t] || u.opts.easing);
                    return u.tweens.push(o), o
                },
                stop: function(t) {
                    for (var r = 0, n = t ? u.tweens.length : 0; r < n; r++) u.tweens[r].run(1);
                    return t ? a.resolveWith(e, [u, t]) : a.rejectWith(e, [u, t]), this
                }
            }),
            c = u.props;
        for (L(c, u.opts.specialEasing); o < i; o++)
            if (n = Jt[o].call(u, e, c, u.opts)) return n;
        return D(u, c), K.isFunction(u.opts.start) && u.opts.start.call(e, u), K.fx.timer(K.extend(s, {
            anim: u,
            queue: u.opts.queue,
            elem: e
        })), u.progress(u.opts.progress).done(u.opts.done, u.opts.complete).fail(u.opts.fail).always(u.opts.always)
    }

    function L(e, t) {
        var r, n, o, i, a;
        for (r in e)
            if (n = K.camelCase(r), o = t[n], i = e[r], K.isArray(i) && (o = i[1], i = e[r] = i[0]), r !== n && (e[n] = i, delete e[r]), (a = K.cssHooks[n]) && "expand" in a) {
                i = a.expand(i), delete e[n];
                for (r in i) r in e || (e[r] = i[r], t[r] = o)
            } else t[n] = o
    }

    function P(e, t, r, n, o) {
        return new P.prototype.init(e, t, r, n, o)
    }

    function R(e, t) {
        var r, n = {
                height: e
            },
            o = 0;
        for (t = t ? 1 : 0; o < 4; o += 2 - t) r = yt[o], n["margin" + r] = n["padding" + r] = e;
        return t && (n.opacity = n.width = e), n
    }

    function I(e) {
        return K.isWindow(e) ? e : 9 === e.nodeType && (e.defaultView || e.parentWindow)
    }
    var F, H, $ = e.document,
        q = e.location,
        B = e.navigator,
        W = e.jQuery,
        U = e.$,
        z = Array.prototype.push,
        X = Array.prototype.slice,
        V = Array.prototype.indexOf,
        G = Object.prototype.toString,
        Y = Object.prototype.hasOwnProperty,
        J = String.prototype.trim,
        K = function(e, t) {
            return new K.fn.init(e, t, F)
        },
        Q = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,
        Z = /\S/,
        ee = /\s+/,
        te = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
        re = /^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
        ne = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,
        oe = /^[\],:{}\s]*$/,
        ie = /(?:^|:|,)(?:\s*\[)+/g,
        ae = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,
        se = /"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,
        ue = /^-ms-/,
        ce = /-([\da-z])/gi,
        le = function(e, t) {
            return (t + "").toUpperCase()
        },
        fe = function() {
            $.addEventListener ? ($.removeEventListener("DOMContentLoaded", fe, !1), K.ready()) : "complete" === $.readyState && ($.detachEvent("onreadystatechange", fe), K.ready())
        },
        pe = {};
    K.fn = K.prototype = {
        constructor: K,
        init: function(e, r, n) {
            var o, i, a;
            if (!e) return this;
            if (e.nodeType) return this.context = this[0] = e, this.length = 1, this;
            if ("string" == typeof e) {
                if ((o = "<" === e.charAt(0) && ">" === e.charAt(e.length - 1) && e.length >= 3 ? [null, e, null] : re.exec(e)) && (o[1] || !r)) {
                    if (o[1]) return r = r instanceof K ? r[0] : r, a = r && r.nodeType ? r.ownerDocument || r : $, e = K.parseHTML(o[1], a, !0), ne.test(o[1]) && K.isPlainObject(r) && this.attr.call(e, r, !0), K.merge(this, e);
                    if ((i = $.getElementById(o[2])) && i.parentNode) {
                        if (i.id !== o[2]) return n.find(e);
                        this.length = 1, this[0] = i
                    }
                    return this.context = $, this.selector = e, this
                }
                return !r || r.jquery ? (r || n).find(e) : this.constructor(r).find(e)
            }
            return K.isFunction(e) ? n.ready(e) : (e.selector !== t && (this.selector = e.selector, this.context = e.context), K.makeArray(e, this))
        },
        selector: "",
        jquery: "1.8.3",
        length: 0,
        size: function() {
            return this.length
        },
        toArray: function() {
            return X.call(this)
        },
        get: function(e) {
            return null == e ? this.toArray() : e < 0 ? this[this.length + e] : this[e]
        },
        pushStack: function(e, t, r) {
            var n = K.merge(this.constructor(), e);
            return n.prevObject = this, n.context = this.context, "find" === t ? n.selector = this.selector + (this.selector ? " " : "") + r : t && (n.selector = this.selector + "." + t + "(" + r + ")"), n
        },
        each: function(e, t) {
            return K.each(this, e, t)
        },
        ready: function(e) {
            return K.ready.promise().done(e), this
        },
        eq: function(e) {
            return -1 == (e = +e) ? this.slice(e) : this.slice(e, e + 1)
        },
        first: function() {
            return this.eq(0)
        },
        last: function() {
            return this.eq(-1)
        },
        slice: function() {
            return this.pushStack(X.apply(this, arguments), "slice", X.call(arguments).join(","))
        },
        map: function(e) {
            return this.pushStack(K.map(this, function(t, r) {
                return e.call(t, r, t)
            }))
        },
        end: function() {
            return this.prevObject || this.constructor(null)
        },
        push: z,
        sort: [].sort,
        splice: [].splice
    }, K.fn.init.prototype = K.fn, K.extend = K.fn.extend = function() {
        var e, r, n, o, i, a, s = arguments[0] || {},
            u = 1,
            c = arguments.length,
            l = !1;
        for ("boolean" == typeof s && (l = s, s = arguments[1] || {}, u = 2), "object" != typeof s && !K.isFunction(s) && (s = {}), c === u && (s = this, --u); u < c; u++)
            if (null != (e = arguments[u]))
                for (r in e) n = s[r], s !== (o = e[r]) && (l && o && (K.isPlainObject(o) || (i = K.isArray(o))) ? (i ? (i = !1, a = n && K.isArray(n) ? n : []) : a = n && K.isPlainObject(n) ? n : {}, s[r] = K.extend(l, a, o)) : o !== t && (s[r] = o));
        return s
    }, K.extend({
        noConflict: function(t) {
            return e.$ === K && (e.$ = U), t && e.jQuery === K && (e.jQuery = W), K
        },
        isReady: !1,
        readyWait: 1,
        holdReady: function(e) {
            e ? K.readyWait++ : K.ready(!0)
        },
        ready: function(e) {
            if (!0 === e ? !--K.readyWait : !K.isReady) {
                if (!$.body) return setTimeout(K.ready, 1);
                K.isReady = !0, !0 !== e && --K.readyWait > 0 || (H.resolveWith($, [K]), K.fn.trigger && K($).trigger("ready").off("ready"))
            }
        },
        isFunction: function(e) {
            return "function" === K.type(e)
        },
        isArray: Array.isArray || function(e) {
            return "array" === K.type(e)
        },
        isWindow: function(e) {
            return null != e && e == e.window
        },
        isNumeric: function(e) {
            return !isNaN(parseFloat(e)) && isFinite(e)
        },
        type: function(e) {
            return null == e ? String(e) : pe[G.call(e)] || "object"
        },
        isPlainObject: function(e) {
            if (!e || "object" !== K.type(e) || e.nodeType || K.isWindow(e)) return !1;
            try {
                if (e.constructor && !Y.call(e, "constructor") && !Y.call(e.constructor.prototype, "isPrototypeOf")) return !1
            } catch (F) {
                return !1
            }
            var r;
            for (r in e);
            return r === t || Y.call(e, r)
        },
        isEmptyObject: function(e) {
            var t;
            for (t in e) return !1;
            return !0
        },
        error: function(e) {
            throw new Error(e)
        },
        parseHTML: function(e, t, r) {
            var n;
            return e && "string" == typeof e ? ("boolean" == typeof t && (r = t, t = 0), t = t || $, (n = ne.exec(e)) ? [t.createElement(n[1])] : (n = K.buildFragment([e], t, r ? null : []), K.merge([], (n.cacheable ? K.clone(n.fragment) : n.fragment).childNodes))) : null
        },
        parseJSON: function(t) {
            return t && "string" == typeof t ? (t = K.trim(t), e.JSON && e.JSON.parse ? e.JSON.parse(t) : oe.test(t.replace(ae, "@").replace(se, "]").replace(ie, "")) ? new Function("return " + t)() : void K.error("Invalid JSON: " + t)) : null
        },
        parseXML: function(r) {
            var n, o;
            if (!r || "string" != typeof r) return null;
            try {
                e.DOMParser ? (o = new DOMParser, n = o.parseFromString(r, "text/xml")) : (n = new ActiveXObject("Microsoft.XMLDOM"), n.async = "false", n.loadXML(r))
            } catch (q) {
                n = t
            }
            return (!n || !n.documentElement || n.getElementsByTagName("parsererror").length) && K.error("Invalid XML: " + r), n
        },
        noop: function() {},
        globalEval: function(t) {
            t && Z.test(t) && (e.execScript || function(t) {
                e.eval.call(e, t)
            })(t)
        },
        camelCase: function(e) {
            return e.replace(ue, "ms-").replace(ce, le)
        },
        nodeName: function(e, t) {
            return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase()
        },
        each: function(e, r, n) {
            var o, i = 0,
                a = e.length,
                s = a === t || K.isFunction(e);
            if (n)
                if (s) {
                    for (o in e)
                        if (!1 === r.apply(e[o], n)) break
                } else
                    for (; i < a && !1 !== r.apply(e[i++], n););
            else if (s) {
                for (o in e)
                    if (!1 === r.call(e[o], o, e[o])) break
            } else
                for (; i < a && !1 !== r.call(e[i], i, e[i++]););
            return e
        },
        trim: J && !J.call("\ufeff ") ? function(e) {
            return null == e ? "" : J.call(e)
        } : function(e) {
            return null == e ? "" : (e + "").replace(te, "")
        },
        makeArray: function(e, t) {
            var r, n = t || [];
            return null != e && (r = K.type(e), null == e.length || "string" === r || "function" === r || "regexp" === r || K.isWindow(e) ? z.call(n, e) : K.merge(n, e)), n
        },
        inArray: function(e, t, r) {
            var n;
            if (t) {
                if (V) return V.call(t, e, r);
                for (n = t.length, r = r ? r < 0 ? Math.max(0, n + r) : r : 0; r < n; r++)
                    if (r in t && t[r] === e) return r
            }
            return -1
        },
        merge: function(e, r) {
            var n = r.length,
                o = e.length,
                i = 0;
            if ("number" == typeof n)
                for (; i < n; i++) e[o++] = r[i];
            else
                for (; r[i] !== t;) e[o++] = r[i++];
            return e.length = o, e
        },
        grep: function(e, t, r) {
            var n, o = [],
                i = 0,
                a = e.length;
            for (r = !!r; i < a; i++) n = !!t(e[i], i), r !== n && o.push(e[i]);
            return o
        },
        map: function(e, r, n) {
            var o, i, a = [],
                s = 0,
                u = e.length;
            if (e instanceof K || u !== t && "number" == typeof u && (u > 0 && e[0] && e[u - 1] || 0 === u || K.isArray(e)))
                for (; s < u; s++) null != (o = r(e[s], s, n)) && (a[a.length] = o);
            else
                for (i in e) null != (o = r(e[i], i, n)) && (a[a.length] = o);
            return a.concat.apply([], a)
        },
        guid: 1,
        proxy: function(e, r) {
            var n, o, i;
            return "string" == typeof r && (n = e[r], r = e, e = n), K.isFunction(e) ? (o = X.call(arguments, 2), i = function() {
                return e.apply(r, o.concat(X.call(arguments)))
            }, i.guid = e.guid = e.guid || K.guid++, i) : t
        },
        access: function(e, r, n, o, i, a, s) {
            var u, c = null == n,
                l = 0,
                f = e.length;
            if (n && "object" == typeof n) {
                for (l in n) K.access(e, r, l, n[l], 1, a, o);
                i = 1
            } else if (o !== t) {
                if (u = s === t && K.isFunction(o), c && (u ? (u = r, r = function(e, t, r) {
                        return u.call(K(e), r)
                    }) : (r.call(e, o), r = null)), r)
                    for (; l < f; l++) r(e[l], n, u ? o.call(e[l], l, r(e[l], n)) : o, s);
                i = 1
            }
            return i ? e : c ? r.call(e) : f ? r(e[0], n) : a
        },
        now: function() {
            return (new Date).getTime()
        }
    }), K.ready.promise = function(t) {
        if (!H)
            if (H = K.Deferred(), "complete" === $.readyState) setTimeout(K.ready, 1);
            else if ($.addEventListener) $.addEventListener("DOMContentLoaded", fe, !1), e.addEventListener("load", K.ready, !1);
        else {
            $.attachEvent("onreadystatechange", fe), e.attachEvent("onload", K.ready);
            var r = !1;
            try {
                r = null == e.frameElement && $.documentElement
            } catch (q) {}
            r && r.doScroll && function n() {
                if (!K.isReady) {
                    try {
                        r.doScroll("left")
                    } catch (e) {
                        return setTimeout(n, 50)
                    }
                    K.ready()
                }
            }()
        }
        return H.promise(t)
    }, K.each("Boolean Number String Function Array Date RegExp Object".split(" "), function(e, t) {
        pe["[object " + t + "]"] = t.toLowerCase()
    }), F = K($);
    var he = {};
    K.Callbacks = function(e) {
        var n, o, i, a, s, u, c = [],
            l = !(e = "string" == typeof e ? he[e] || r(e) : K.extend({}, e)).once && [],
            f = function(t) {
                for (n = e.memory && t, o = !0, u = a || 0, a = 0, s = c.length, i = !0; c && u < s; u++)
                    if (!1 === c[u].apply(t[0], t[1]) && e.stopOnFalse) {
                        n = !1;
                        break
                    }
                i = !1, c && (l ? l.length && f(l.shift()) : n ? c = [] : p.disable())
            },
            p = {
                add: function() {
                    if (c) {
                        var t = c.length;
                        (function r(t) {
                            K.each(t, function(t, n) {
                                var o = K.type(n);
                                "function" === o ? (!e.unique || !p.has(n)) && c.push(n) : n && n.length && "string" !== o && r(n)
                            })
                        })(arguments), i ? s = c.length : n && (a = t, f(n))
                    }
                    return this
                },
                remove: function() {
                    return c && K.each(arguments, function(e, t) {
                        for (var r;
                            (r = K.inArray(t, c, r)) > -1;) c.splice(r, 1), i && (r <= s && s--, r <= u && u--)
                    }), this
                },
                has: function(e) {
                    return K.inArray(e, c) > -1
                },
                empty: function() {
                    return c = [], this
                },
                disable: function() {
                    return c = l = n = t, this
                },
                disabled: function() {
                    return !c
                },
                lock: function() {
                    return l = t, n || p.disable(), this
                },
                locked: function() {
                    return !l
                },
                fireWith: function(e, t) {
                    return t = t || [], t = [e, t.slice ? t.slice() : t], c && (!o || l) && (i ? l.push(t) : f(t)), this
                },
                fire: function() {
                    return p.fireWith(this, arguments), this
                },
                fired: function() {
                    return !!o
                }
            };
        return p
    }, K.extend({
        Deferred: function(e) {
            var t = [
                    ["resolve", "done", K.Callbacks("once memory"), "resolved"],
                    ["reject", "fail", K.Callbacks("once memory"), "rejected"],
                    ["notify", "progress", K.Callbacks("memory")]
                ],
                r = "pending",
                n = {
                    state: function() {
                        return r
                    },
                    always: function() {
                        return o.done(arguments).fail(arguments), this
                    },
                    then: function() {
                        var e = arguments;
                        return K.Deferred(function(r) {
                            K.each(t, function(t, n) {
                                var i = n[0],
                                    a = e[t];
                                o[n[1]](K.isFunction(a) ? function() {
                                    var e = a.apply(this, arguments);
                                    e && K.isFunction(e.promise) ? e.promise().done(r.resolve).fail(r.reject).progress(r.notify) : r[i + "With"](this === o ? r : this, [e])
                                } : r[i])
                            }), e = null
                        }).promise()
                    },
                    promise: function(e) {
                        return null != e ? K.extend(e, n) : n
                    }
                },
                o = {};
            return n.pipe = n.then, K.each(t, function(e, i) {
                var a = i[2],
                    s = i[3];
                n[i[1]] = a.add, s && a.add(function() {
                    r = s
                }, t[1 ^ e][2].disable, t[2][2].lock), o[i[0]] = a.fire, o[i[0] + "With"] = a.fireWith
            }), n.promise(o), e && e.call(o, o), o
        },
        when: function(e) {
            var t, r, n, o = 0,
                i = X.call(arguments),
                a = i.length,
                s = 1 !== a || e && K.isFunction(e.promise) ? a : 0,
                u = 1 === s ? e : K.Deferred(),
                c = function(e, r, n) {
                    return function(o) {
                        r[e] = this, n[e] = arguments.length > 1 ? X.call(arguments) : o, n === t ? u.notifyWith(r, n) : --s || u.resolveWith(r, n)
                    }
                };
            if (a > 1)
                for (t = new Array(a), r = new Array(a), n = new Array(a); o < a; o++) i[o] && K.isFunction(i[o].promise) ? i[o].promise().done(c(o, n, i)).fail(u.reject).progress(c(o, r, t)) : --s;
            return s || u.resolveWith(n, i), u.promise()
        }
    }), K.support = function() {
        var t, r, n, o, i, a, s, u, c, l, f, p = $.createElement("div");
        if (p.setAttribute("className", "t"), p.innerHTML = "  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", r = p.getElementsByTagName("*"), n = p.getElementsByTagName("a")[0], !r || !n || !r.length) return {};
        i = (o = $.createElement("select")).appendChild($.createElement("option")), a = p.getElementsByTagName("input")[0], n.style.cssText = "top:1px;float:left;opacity:.5", t = {
            leadingWhitespace: 3 === p.firstChild.nodeType,
            tbody: !p.getElementsByTagName("tbody").length,
            htmlSerialize: !!p.getElementsByTagName("link").length,
            style: /top/.test(n.getAttribute("style")),
            hrefNormalized: "/a" === n.getAttribute("href"),
            opacity: /^0.5/.test(n.style.opacity),
            cssFloat: !!n.style.cssFloat,
            checkOn: "on" === a.value,
            optSelected: i.selected,
            getSetAttribute: "t" !== p.className,
            enctype: !!$.createElement("form").enctype,
            html5Clone: "<:nav></:nav>" !== $.createElement("nav").cloneNode(!0).outerHTML,
            boxModel: "CSS1Compat" === $.compatMode,
            submitBubbles: !0,
            changeBubbles: !0,
            focusinBubbles: !1,
            deleteExpando: !0,
            noCloneEvent: !0,
            inlineBlockNeedsLayout: !1,
            shrinkWrapBlocks: !1,
            reliableMarginRight: !0,
            boxSizingReliable: !0,
            pixelPosition: !1
        }, a.checked = !0, t.noCloneChecked = a.cloneNode(!0).checked, o.disabled = !0, t.optDisabled = !i.disabled;
        try {
            delete p.test
        } catch (J) {
            t.deleteExpando = !1
        }
        if (!p.addEventListener && p.attachEvent && p.fireEvent && (p.attachEvent("onclick", f = function() {
                t.noCloneEvent = !1
            }), p.cloneNode(!0).fireEvent("onclick"), p.detachEvent("onclick", f)), a = $.createElement("input"), a.value = "t", a.setAttribute("type", "radio"), t.radioValue = "t" === a.value, a.setAttribute("checked", "checked"), a.setAttribute("name", "t"), p.appendChild(a), (s = $.createDocumentFragment()).appendChild(p.lastChild), t.checkClone = s.cloneNode(!0).cloneNode(!0).lastChild.checked, t.appendChecked = a.checked, s.removeChild(a), s.appendChild(p), p.attachEvent)
            for (c in {
                    submit: !0,
                    change: !0,
                    focusin: !0
                }) u = "on" + c, (l = u in p) || (p.setAttribute(u, "return;"), l = "function" == typeof p[u]), t[c + "Bubbles"] = l;
        return K(function() {
            var r, n, o, i, a = "padding:0;margin:0;border:0;display:block;overflow:hidden;",
                s = $.getElementsByTagName("body")[0];
            s && ((r = $.createElement("div")).style.cssText = "visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px", s.insertBefore(r, s.firstChild), n = $.createElement("div"), r.appendChild(n), n.innerHTML = "<table><tr><td></td><td>t</td></tr></table>", (o = n.getElementsByTagName("td"))[0].style.cssText = "padding:0;margin:0;border:0;display:none", l = 0 === o[0].offsetHeight, o[0].style.display = "", o[1].style.display = "none", t.reliableHiddenOffsets = l && 0 === o[0].offsetHeight, n.innerHTML = "", n.style.cssText = "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;", t.boxSizing = 4 === n.offsetWidth, t.doesNotIncludeMarginInBodyOffset = 1 !== s.offsetTop, e.getComputedStyle && (t.pixelPosition = "1%" !== (e.getComputedStyle(n, null) || {}).top, t.boxSizingReliable = "4px" === (e.getComputedStyle(n, null) || {
                width: "4px"
            }).width, i = $.createElement("div"), i.style.cssText = n.style.cssText = a, i.style.marginRight = i.style.width = "0", n.style.width = "1px", n.appendChild(i), t.reliableMarginRight = !parseFloat((e.getComputedStyle(i, null) || {}).marginRight)), "undefined" != typeof n.style.zoom && (n.innerHTML = "", n.style.cssText = a + "width:1px;padding:1px;display:inline;zoom:1", t.inlineBlockNeedsLayout = 3 === n.offsetWidth, n.style.display = "block", n.style.overflow = "visible", n.innerHTML = "<div></div>", n.firstChild.style.width = "5px", t.shrinkWrapBlocks = 3 !== n.offsetWidth, r.style.zoom = 1), s.removeChild(r), r = n = o = i = null)
        }), s.removeChild(p), r = n = o = i = a = s = p = null, t
    }();
    var de = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/,
        ye = /([A-Z])/g;
    K.extend({
        cache: {},
        deletedIds: [],
        uuid: 0,
        expando: "jQuery" + (K.fn.jquery + Math.random()).replace(/\D/g, ""),
        noData: {
            embed: !0,
            object: "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",
            applet: !0
        },
        hasData: function(e) {
            return !!(e = e.nodeType ? K.cache[e[K.expando]] : e[K.expando]) && !o(e)
        },
        data: function(e, r, n, o) {
            if (K.acceptData(e)) {
                var i, a, s = K.expando,
                    u = "string" == typeof r,
                    c = e.nodeType,
                    l = c ? K.cache : e,
                    f = c ? e[s] : e[s] && s;
                if (f && l[f] && (o || l[f].data) || !u || n !== t) return f || (c ? e[s] = f = K.deletedIds.pop() || K.guid++ : f = s), l[f] || (l[f] = {}, c || (l[f].toJSON = K.noop)), "object" != typeof r && "function" != typeof r || (o ? l[f] = K.extend(l[f], r) : l[f].data = K.extend(l[f].data, r)), i = l[f], o || (i.data || (i.data = {}), i = i.data), n !== t && (i[K.camelCase(r)] = n), u ? null == (a = i[r]) && (a = i[K.camelCase(r)]) : a = i, a
            }
        },
        removeData: function(e, t, r) {
            if (K.acceptData(e)) {
                var n, i, a, s = e.nodeType,
                    u = s ? K.cache : e,
                    c = s ? e[K.expando] : K.expando;
                if (u[c]) {
                    if (t && (n = r ? u[c] : u[c].data)) {
                        K.isArray(t) || (t in n ? t = [t] : (t = K.camelCase(t), t = t in n ? [t] : t.split(" ")));
                        for (i = 0, a = t.length; i < a; i++) delete n[t[i]];
                        if (!(r ? o : K.isEmptyObject)(n)) return
                    }(r || (delete u[c].data, o(u[c]))) && (s ? K.cleanData([e], !0) : K.support.deleteExpando || u != u.window ? delete u[c] : u[c] = null)
                }
            }
        },
        _data: function(e, t, r) {
            return K.data(e, t, r, !0)
        },
        acceptData: function(e) {
            var t = e.nodeName && K.noData[e.nodeName.toLowerCase()];
            return !t || !0 !== t && e.getAttribute("classid") === t
        }
    }), K.fn.extend({
        data: function(e, r) {
            var o, i, a, s, u, c = this[0],
                l = 0,
                f = null;
            if (e === t) {
                if (this.length && (f = K.data(c), 1 === c.nodeType && !K._data(c, "parsedAttrs"))) {
                    for (u = (a = c.attributes).length; l < u; l++)(s = a[l].name).indexOf("data-") || (s = K.camelCase(s.substring(5)), n(c, s, f[s]));
                    K._data(c, "parsedAttrs", !0)
                }
                return f
            }
            return "object" == typeof e ? this.each(function() {
                K.data(this, e)
            }) : (o = e.split(".", 2), o[1] = o[1] ? "." + o[1] : "", i = o[1] + "!", K.access(this, function(r) {
                if (r === t) return (f = this.triggerHandler("getData" + i, [o[0]])) === t && c && (f = K.data(c, e), f = n(c, e, f)), f === t && o[1] ? this.data(o[0]) : f;
                o[1] = r, this.each(function() {
                    var t = K(this);
                    t.triggerHandler("setData" + i, o), K.data(this, e, r), t.triggerHandler("changeData" + i, o)
                })
            }, null, r, arguments.length > 1, null, !1))
        },
        removeData: function(e) {
            return this.each(function() {
                K.removeData(this, e)
            })
        }
    }), K.extend({
        queue: function(e, t, r) {
            var n;
            if (e) return t = (t || "fx") + "queue", n = K._data(e, t), r && (!n || K.isArray(r) ? n = K._data(e, t, K.makeArray(r)) : n.push(r)), n || []
        },
        dequeue: function(e, t) {
            t = t || "fx";
            var r = K.queue(e, t),
                n = r.length,
                o = r.shift(),
                i = K._queueHooks(e, t);
            "inprogress" === o && (o = r.shift(), n--), o && ("fx" === t && r.unshift("inprogress"), delete i.stop, o.call(e, function() {
                K.dequeue(e, t)
            }, i)), !n && i && i.empty.fire()
        },
        _queueHooks: function(e, t) {
            var r = t + "queueHooks";
            return K._data(e, r) || K._data(e, r, {
                empty: K.Callbacks("once memory").add(function() {
                    K.removeData(e, t + "queue", !0), K.removeData(e, r, !0)
                })
            })
        }
    }), K.fn.extend({
        queue: function(e, r) {
            var n = 2;
            return "string" != typeof e && (r = e, e = "fx", n--), arguments.length < n ? K.queue(this[0], e) : r === t ? this : this.each(function() {
                var t = K.queue(this, e, r);
                K._queueHooks(this, e), "fx" === e && "inprogress" !== t[0] && K.dequeue(this, e)
            })
        },
        dequeue: function(e) {
            return this.each(function() {
                K.dequeue(this, e)
            })
        },
        delay: function(e, t) {
            return e = K.fx ? K.fx.speeds[e] || e : e, t = t || "fx", this.queue(t, function(t, r) {
                var n = setTimeout(t, e);
                r.stop = function() {
                    clearTimeout(n)
                }
            })
        },
        clearQueue: function(e) {
            return this.queue(e || "fx", [])
        },
        promise: function(e, r) {
            var n, o = 1,
                i = K.Deferred(),
                a = this,
                s = this.length,
                u = function() {
                    --o || i.resolveWith(a, [a])
                };
            for ("string" != typeof e && (r = e, e = t), e = e || "fx"; s--;)(n = K._data(a[s], e + "queueHooks")) && n.empty && (o++, n.empty.add(u));
            return u(), i.promise(r)
        }
    });
    var ge, me, ve, be = /[\t\r\n]/g,
        we = /\r/g,
        xe = /^(?:button|input)$/i,
        Ee = /^(?:button|input|object|select|textarea)$/i,
        Te = /^a(?:rea|)$/i,
        Se = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,
        _e = K.support.getSetAttribute;
    K.fn.extend({
        attr: function(e, t) {
            return K.access(this, K.attr, e, t, arguments.length > 1)
        },
        removeAttr: function(e) {
            return this.each(function() {
                K.removeAttr(this, e)
            })
        },
        prop: function(e, t) {
            return K.access(this, K.prop, e, t, arguments.length > 1)
        },
        removeProp: function(e) {
            return e = K.propFix[e] || e, this.each(function() {
                try {
                    this[e] = t, delete this[e]
                } catch (F) {}
            })
        },
        addClass: function(e) {
            var t, r, n, o, i, a, s;
            if (K.isFunction(e)) return this.each(function(t) {
                K(this).addClass(e.call(this, t, this.className))
            });
            if (e && "string" == typeof e)
                for (t = e.split(ee), r = 0, n = this.length; r < n; r++)
                    if (1 === (o = this[r]).nodeType)
                        if (o.className || 1 !== t.length) {
                            for (i = " " + o.className + " ", a = 0, s = t.length; a < s; a++) i.indexOf(" " + t[a] + " ") < 0 && (i += t[a] + " ");
                            o.className = K.trim(i)
                        } else o.className = e;
            return this
        },
        removeClass: function(e) {
            var r, n, o, i, a, s, u;
            if (K.isFunction(e)) return this.each(function(t) {
                K(this).removeClass(e.call(this, t, this.className))
            });
            if (e && "string" == typeof e || e === t)
                for (r = (e || "").split(ee), s = 0, u = this.length; s < u; s++)
                    if (1 === (o = this[s]).nodeType && o.className) {
                        for (n = (" " + o.className + " ").replace(be, " "), i = 0, a = r.length; i < a; i++)
                            for (; n.indexOf(" " + r[i] + " ") >= 0;) n = n.replace(" " + r[i] + " ", " ");
                        o.className = e ? K.trim(n) : ""
                    }
            return this
        },
        toggleClass: function(e, t) {
            var r = typeof e,
                n = "boolean" == typeof t;
            return K.isFunction(e) ? this.each(function(r) {
                K(this).toggleClass(e.call(this, r, this.className, t), t)
            }) : this.each(function() {
                if ("string" === r)
                    for (var o, i = 0, a = K(this), s = t, u = e.split(ee); o = u[i++];) s = n ? s : !a.hasClass(o), a[s ? "addClass" : "removeClass"](o);
                else "undefined" !== r && "boolean" !== r || (this.className && K._data(this, "__className__", this.className), this.className = this.className || !1 === e ? "" : K._data(this, "__className__") || "")
            })
        },
        hasClass: function(e) {
            for (var t = " " + e + " ", r = 0, n = this.length; r < n; r++)
                if (1 === this[r].nodeType && (" " + this[r].className + " ").replace(be, " ").indexOf(t) >= 0) return !0;
            return !1
        },
        val: function(e) {
            var r, n, o, i = this[0]; {
                if (arguments.length) return o = K.isFunction(e), this.each(function(n) {
                    var i, a = K(this);
                    1 === this.nodeType && (null == (i = o ? e.call(this, n, a.val()) : e) ? i = "" : "number" == typeof i ? i += "" : K.isArray(i) && (i = K.map(i, function(e) {
                        return null == e ? "" : e + ""
                    })), (r = K.valHooks[this.type] || K.valHooks[this.nodeName.toLowerCase()]) && "set" in r && r.set(this, i, "value") !== t || (this.value = i))
                });
                if (i) return (r = K.valHooks[i.type] || K.valHooks[i.nodeName.toLowerCase()]) && "get" in r && (n = r.get(i, "value")) !== t ? n : "string" == typeof(n = i.value) ? n.replace(we, "") : null == n ? "" : n
            }
        }
    }), K.extend({
        valHooks: {
            option: {
                get: function(e) {
                    var t = e.attributes.value;
                    return !t || t.specified ? e.value : e.text
                }
            },
            select: {
                get: function(e) {
                    for (var t, r, n = e.options, o = e.selectedIndex, i = "select-one" === e.type || o < 0, a = i ? null : [], s = i ? o + 1 : n.length, u = o < 0 ? s : i ? o : 0; u < s; u++)
                        if (((r = n[u]).selected || u === o) && (K.support.optDisabled ? !r.disabled : null === r.getAttribute("disabled")) && (!r.parentNode.disabled || !K.nodeName(r.parentNode, "optgroup"))) {
                            if (t = K(r).val(), i) return t;
                            a.push(t)
                        }
                    return a
                },
                set: function(e, t) {
                    var r = K.makeArray(t);
                    return K(e).find("option").each(function() {
                        this.selected = K.inArray(K(this).val(), r) >= 0
                    }), r.length || (e.selectedIndex = -1), r
                }
            }
        },
        attrFn: {},
        attr: function(e, r, n, o) {
            var i, a, s, u = e.nodeType;
            if (e && 3 !== u && 8 !== u && 2 !== u) return o && K.isFunction(K.fn[r]) ? K(e)[r](n) : "undefined" == typeof e.getAttribute ? K.prop(e, r, n) : ((s = 1 !== u || !K.isXMLDoc(e)) && (r = r.toLowerCase(), a = K.attrHooks[r] || (Se.test(r) ? me : ge)), n !== t ? null === n ? void K.removeAttr(e, r) : a && "set" in a && s && (i = a.set(e, n, r)) !== t ? i : (e.setAttribute(r, n + ""), n) : a && "get" in a && s && null !== (i = a.get(e, r)) ? i : null === (i = e.getAttribute(r)) ? t : i)
        },
        removeAttr: function(e, t) {
            var r, n, o, i, a = 0;
            if (t && 1 === e.nodeType)
                for (n = t.split(ee); a < n.length; a++)(o = n[a]) && (r = K.propFix[o] || o, (i = Se.test(o)) || K.attr(e, o, ""), e.removeAttribute(_e ? o : r), i && r in e && (e[r] = !1))
        },
        attrHooks: {
            type: {
                set: function(e, t) {
                    if (xe.test(e.nodeName) && e.parentNode) K.error("type property can't be changed");
                    else if (!K.support.radioValue && "radio" === t && K.nodeName(e, "input")) {
                        var r = e.value;
                        return e.setAttribute("type", t), r && (e.value = r), t
                    }
                }
            },
            value: {
                get: function(e, t) {
                    return ge && K.nodeName(e, "button") ? ge.get(e, t) : t in e ? e.value : null
                },
                set: function(e, t, r) {
                    if (ge && K.nodeName(e, "button")) return ge.set(e, t, r);
                    e.value = t
                }
            }
        },
        propFix: {
            tabindex: "tabIndex",
            readonly: "readOnly",
            "for": "htmlFor",
            "class": "className",
            maxlength: "maxLength",
            cellspacing: "cellSpacing",
            cellpadding: "cellPadding",
            rowspan: "rowSpan",
            colspan: "colSpan",
            usemap: "useMap",
            frameborder: "frameBorder",
            contenteditable: "contentEditable"
        },
        prop: function(e, r, n) {
            var o, i, a = e.nodeType;
            if (e && 3 !== a && 8 !== a && 2 !== a) return (1 !== a || !K.isXMLDoc(e)) && (r = K.propFix[r] || r, i = K.propHooks[r]), n !== t ? i && "set" in i && (o = i.set(e, n, r)) !== t ? o : e[r] = n : i && "get" in i && null !== (o = i.get(e, r)) ? o : e[r]
        },
        propHooks: {
            tabIndex: {
                get: function(e) {
                    var r = e.getAttributeNode("tabindex");
                    return r && r.specified ? parseInt(r.value, 10) : Ee.test(e.nodeName) || Te.test(e.nodeName) && e.href ? 0 : t
                }
            }
        }
    }), me = {
        get: function(e, r) {
            var n, o = K.prop(e, r);
            return !0 === o || "boolean" != typeof o && (n = e.getAttributeNode(r)) && !1 !== n.nodeValue ? r.toLowerCase() : t
        },
        set: function(e, t, r) {
            var n;
            return !1 === t ? K.removeAttr(e, r) : ((n = K.propFix[r] || r) in e && (e[n] = !0), e.setAttribute(r, r.toLowerCase())), r
        }
    }, _e || (ve = {
        name: !0,
        id: !0,
        coords: !0
    }, ge = K.valHooks.button = {
        get: function(e, r) {
            var n;
            return (n = e.getAttributeNode(r)) && (ve[r] ? "" !== n.value : n.specified) ? n.value : t
        },
        set: function(e, t, r) {
            var n = e.getAttributeNode(r);
            return n || (n = $.createAttribute(r), e.setAttributeNode(n)), n.value = t + ""
        }
    }, K.each(["width", "height"], function(e, t) {
        K.attrHooks[t] = K.extend(K.attrHooks[t], {
            set: function(e, r) {
                if ("" === r) return e.setAttribute(t, "auto"), r
            }
        })
    }), K.attrHooks.contenteditable = {
        get: ge.get,
        set: function(e, t, r) {
            "" === t && (t = "false"), ge.set(e, t, r)
        }
    }), K.support.hrefNormalized || K.each(["href", "src", "width", "height"], function(e, r) {
        K.attrHooks[r] = K.extend(K.attrHooks[r], {
            get: function(e) {
                var n = e.getAttribute(r, 2);
                return null === n ? t : n
            }
        })
    }), K.support.style || (K.attrHooks.style = {
        get: function(e) {
            return e.style.cssText.toLowerCase() || t
        },
        set: function(e, t) {
            return e.style.cssText = t + ""
        }
    }), K.support.optSelected || (K.propHooks.selected = K.extend(K.propHooks.selected, {
        get: function(e) {
            var t = e.parentNode;
            return t && (t.selectedIndex, t.parentNode && t.parentNode.selectedIndex), null
        }
    })), K.support.enctype || (K.propFix.enctype = "encoding"), K.support.checkOn || K.each(["radio", "checkbox"], function() {
        K.valHooks[this] = {
            get: function(e) {
                return null === e.getAttribute("value") ? "on" : e.value
            }
        }
    }), K.each(["radio", "checkbox"], function() {
        K.valHooks[this] = K.extend(K.valHooks[this], {
            set: function(e, t) {
                if (K.isArray(t)) return e.checked = K.inArray(K(e).val(), t) >= 0
            }
        })
    });
    var je = /^(?:textarea|input|select)$/i,
        Ae = /^([^\.]*|)(?:\.(.+)|)$/,
        Ne = /(?:^|\s)hover(\.\S+|)\b/,
        ke = /^key/,
        Oe = /^(?:mouse|contextmenu)|click/,
        Ce = /^(?:focusinfocus|focusoutblur)$/,
        De = function(e) {
            return K.event.special.hover ? e : e.replace(Ne, "mouseenter$1 mouseleave$1")
        };
    K.event = {
            add: function(e, r, n, o, i) {
                var a, s, u, c, l, f, p, h, d, y, g;
                if (3 !== e.nodeType && 8 !== e.nodeType && r && n && (a = K._data(e))) {
                    for (n.handler && (d = n, n = d.handler, i = d.selector), n.guid || (n.guid = K.guid++), (u = a.events) || (a.events = u = {}), (s = a.handle) || (a.handle = s = function(e) {
                            return void 0 === K || e && K.event.triggered === e.type ? t : K.event.dispatch.apply(s.elem, arguments)
                        }, s.elem = e), r = K.trim(De(r)).split(" "), c = 0; c < r.length; c++) f = (l = Ae.exec(r[c]) || [])[1], p = (l[2] || "").split(".").sort(), g = K.event.special[f] || {}, f = (i ? g.delegateType : g.bindType) || f, g = K.event.special[f] || {}, h = K.extend({
                        type: f,
                        origType: l[1],
                        data: o,
                        handler: n,
                        guid: n.guid,
                        selector: i,
                        needsContext: i && K.expr.match.needsContext.test(i),
                        namespace: p.join(".")
                    }, d), (y = u[f]) || ((y = u[f] = []).delegateCount = 0, g.setup && !1 !== g.setup.call(e, o, p, s) || (e.addEventListener ? e.addEventListener(f, s, !1) : e.attachEvent && e.attachEvent("on" + f, s))), g.add && (g.add.call(e, h), h.handler.guid || (h.handler.guid = n.guid)), i ? y.splice(y.delegateCount++, 0, h) : y.push(h), K.event.global[f] = !0;
                    e = null
                }
            },
            global: {},
            remove: function(e, t, r, n, o) {
                var i, a, s, u, c, l, f, p, h, d, y, g = K.hasData(e) && K._data(e);
                if (g && (p = g.events)) {
                    for (t = K.trim(De(t || "")).split(" "), i = 0; i < t.length; i++)
                        if (a = Ae.exec(t[i]) || [], s = u = a[1], c = a[2], s) {
                            for (h = K.event.special[s] || {}, l = (d = p[s = (n ? h.delegateType : h.bindType) || s] || []).length, c = c ? new RegExp("(^|\\.)" + c.split(".").sort().join("\\.(?:.*\\.|)") + "(\\.|$)") : null, f = 0; f < d.length; f++) y = d[f], (o || u === y.origType) && (!r || r.guid === y.guid) && (!c || c.test(y.namespace)) && (!n || n === y.selector || "**" === n && y.selector) && (d.splice(f--, 1), y.selector && d.delegateCount--, h.remove && h.remove.call(e, y));
                            0 === d.length && l !== d.length && ((!h.teardown || !1 === h.teardown.call(e, c, g.handle)) && K.removeEvent(e, s, g.handle), delete p[s])
                        } else
                            for (s in p) K.event.remove(e, s + t[i], r, n, !0);
                    K.isEmptyObject(p) && (delete g.handle, K.removeData(e, "events", !0))
                }
            },
            customEvent: {
                getData: !0,
                setData: !0,
                changeData: !0
            },
            trigger: function(r, n, o, i) {
                if (!o || 3 !== o.nodeType && 8 !== o.nodeType) {
                    var a, s, u, c, l, f, p, h, d, y, g = r.type || r,
                        m = [];
                    if (Ce.test(g + K.event.triggered)) return;
                    if (g.indexOf("!") >= 0 && (g = g.slice(0, -1), s = !0), g.indexOf(".") >= 0 && (m = g.split("."), g = m.shift(), m.sort()), (!o || K.event.customEvent[g]) && !K.event.global[g]) return;
                    if (r = "object" == typeof r ? r[K.expando] ? r : new K.Event(g, r) : new K.Event(g), r.type = g, r.isTrigger = !0, r.exclusive = s, r.namespace = m.join("."), r.namespace_re = r.namespace ? new RegExp("(^|\\.)" + m.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, f = g.indexOf(":") < 0 ? "on" + g : "", !o) {
                        a = K.cache;
                        for (u in a) a[u].events && a[u].events[g] && K.event.trigger(r, n, a[u].handle.elem, !0);
                        return
                    }
                    if (r.result = t, r.target || (r.target = o), (n = null != n ? K.makeArray(n) : []).unshift(r), (p = K.event.special[g] || {}).trigger && !1 === p.trigger.apply(o, n)) return;
                    if (d = [
                            [o, p.bindType || g]
                        ], !i && !p.noBubble && !K.isWindow(o)) {
                        for (y = p.delegateType || g, c = Ce.test(y + g) ? o : o.parentNode, l = o; c; c = c.parentNode) d.push([c, y]), l = c;
                        l === (o.ownerDocument || $) && d.push([l.defaultView || l.parentWindow || e, y])
                    }
                    for (u = 0; u < d.length && !r.isPropagationStopped(); u++) c = d[u][0], r.type = d[u][1], (h = (K._data(c, "events") || {})[r.type] && K._data(c, "handle")) && h.apply(c, n), (h = f && c[f]) && K.acceptData(c) && h.apply && !1 === h.apply(c, n) && r.preventDefault();
                    return r.type = g, !i && !r.isDefaultPrevented() && (!p._default || !1 === p._default.apply(o.ownerDocument, n)) && ("click" !== g || !K.nodeName(o, "a")) && K.acceptData(o) && f && o[g] && ("focus" !== g && "blur" !== g || 0 !== r.target.offsetWidth) && !K.isWindow(o) && ((l = o[f]) && (o[f] = null), K.event.triggered = g, o[g](), K.event.triggered = t, l && (o[f] = l)), r.result
                }
            },
            dispatch: function(r) {
                r = K.event.fix(r || e.event);
                var n, o, i, a, s, u, c, l, f, p = (K._data(this, "events") || {})[r.type] || [],
                    h = p.delegateCount,
                    d = X.call(arguments),
                    y = !r.exclusive && !r.namespace,
                    g = K.event.special[r.type] || {},
                    m = [];
                if (d[0] = r, r.delegateTarget = this, !g.preDispatch || !1 !== g.preDispatch.call(this, r)) {
                    if (h && (!r.button || "click" !== r.type))
                        for (i = r.target; i != this; i = i.parentNode || this)
                            if (!0 !== i.disabled || "click" !== r.type) {
                                for (s = {}, c = [], n = 0; n < h; n++) l = p[n], f = l.selector, s[f] === t && (s[f] = l.needsContext ? K(f, this).index(i) >= 0 : K.find(f, this, null, [i]).length), s[f] && c.push(l);
                                c.length && m.push({
                                    elem: i,
                                    matches: c
                                })
                            }
                    for (p.length > h && m.push({
                            elem: this,
                            matches: p.slice(h)
                        }), n = 0; n < m.length && !r.isPropagationStopped(); n++)
                        for (u = m[n], r.currentTarget = u.elem, o = 0; o < u.matches.length && !r.isImmediatePropagationStopped(); o++) l = u.matches[o], (y || !r.namespace && !l.namespace || r.namespace_re && r.namespace_re.test(l.namespace)) && (r.data = l.data, r.handleObj = l, (a = ((K.event.special[l.origType] || {}).handle || l.handler).apply(u.elem, d)) !== t && (r.result = a, !1 === a && (r.preventDefault(), r.stopPropagation())));
                    return g.postDispatch && g.postDispatch.call(this, r), r.result
                }
            },
            props: "attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
            fixHooks: {},
            keyHooks: {
                props: "char charCode key keyCode".split(" "),
                filter: function(e, t) {
                    return null == e.which && (e.which = null != t.charCode ? t.charCode : t.keyCode), e
                }
            },
            mouseHooks: {
                props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
                filter: function(e, r) {
                    var n, o, i, a = r.button,
                        s = r.fromElement;
                    return null == e.pageX && null != r.clientX && (n = e.target.ownerDocument || $, o = n.documentElement, i = n.body, e.pageX = r.clientX + (o && o.scrollLeft || i && i.scrollLeft || 0) - (o && o.clientLeft || i && i.clientLeft || 0), e.pageY = r.clientY + (o && o.scrollTop || i && i.scrollTop || 0) - (o && o.clientTop || i && i.clientTop || 0)), !e.relatedTarget && s && (e.relatedTarget = s === e.target ? r.toElement : s), !e.which && a !== t && (e.which = 1 & a ? 1 : 2 & a ? 3 : 4 & a ? 2 : 0), e
                }
            },
            fix: function(e) {
                if (e[K.expando]) return e;
                var t, r, n = e,
                    o = K.event.fixHooks[e.type] || {},
                    i = o.props ? this.props.concat(o.props) : this.props;
                for (e = K.Event(n), t = i.length; t;) r = i[--t], e[r] = n[r];
                return e.target || (e.target = n.srcElement || $), 3 === e.target.nodeType && (e.target = e.target.parentNode), e.metaKey = !!e.metaKey, o.filter ? o.filter(e, n) : e
            },
            special: {
                load: {
                    noBubble: !0
                },
                focus: {
                    delegateType: "focusin"
                },
                blur: {
                    delegateType: "focusout"
                },
                beforeunload: {
                    setup: function(e, t, r) {
                        K.isWindow(this) && (this.onbeforeunload = r)
                    },
                    teardown: function(e, t) {
                        this.onbeforeunload === t && (this.onbeforeunload = null)
                    }
                }
            },
            simulate: function(e, t, r, n) {
                var o = K.extend(new K.Event, r, {
                    type: e,
                    isSimulated: !0,
                    originalEvent: {}
                });
                n ? K.event.trigger(o, null, t) : K.event.dispatch.call(t, o), o.isDefaultPrevented() && r.preventDefault()
            }
        }, K.event.handle = K.event.dispatch, K.removeEvent = $.removeEventListener ? function(e, t, r) {
            e.removeEventListener && e.removeEventListener(t, r, !1)
        } : function(e, t, r) {
            var n = "on" + t;
            e.detachEvent && ("undefined" == typeof e[n] && (e[n] = null), e.detachEvent(n, r))
        }, K.Event = function(e, t) {
            if (!(this instanceof K.Event)) return new K.Event(e, t);
            e && e.type ? (this.originalEvent = e, this.type = e.type, this.isDefaultPrevented = e.defaultPrevented || !1 === e.returnValue || e.getPreventDefault && e.getPreventDefault() ? a : i) : this.type = e, t && K.extend(this, t), this.timeStamp = e && e.timeStamp || K.now(), this[K.expando] = !0
        }, K.Event.prototype = {
            preventDefault: function() {
                this.isDefaultPrevented = a;
                var e = this.originalEvent;
                e && (e.preventDefault ? e.preventDefault() : e.returnValue = !1)
            },
            stopPropagation: function() {
                this.isPropagationStopped = a;
                var e = this.originalEvent;
                e && (e.stopPropagation && e.stopPropagation(), e.cancelBubble = !0)
            },
            stopImmediatePropagation: function() {
                this.isImmediatePropagationStopped = a, this.stopPropagation()
            },
            isDefaultPrevented: i,
            isPropagationStopped: i,
            isImmediatePropagationStopped: i
        }, K.each({
            mouseenter: "mouseover",
            mouseleave: "mouseout"
        }, function(e, t) {
            K.event.special[e] = {
                delegateType: t,
                bindType: t,
                handle: function(e) {
                    var r, n = this,
                        o = e.relatedTarget,
                        i = e.handleObj;
                    i.selector;
                    return o && (o === n || K.contains(n, o)) || (e.type = i.origType, r = i.handler.apply(this, arguments), e.type = t), r
                }
            }
        }), K.support.submitBubbles || (K.event.special.submit = {
            setup: function() {
                if (K.nodeName(this, "form")) return !1;
                K.event.add(this, "click._submit keypress._submit", function(e) {
                    var r = e.target,
                        n = K.nodeName(r, "input") || K.nodeName(r, "button") ? r.form : t;
                    n && !K._data(n, "_submit_attached") && (K.event.add(n, "submit._submit", function(e) {
                        e._submit_bubble = !0
                    }), K._data(n, "_submit_attached", !0))
                })
            },
            postDispatch: function(e) {
                e._submit_bubble && (delete e._submit_bubble, this.parentNode && !e.isTrigger && K.event.simulate("submit", this.parentNode, e, !0))
            },
            teardown: function() {
                if (K.nodeName(this, "form")) return !1;
                K.event.remove(this, "._submit")
            }
        }), K.support.changeBubbles || (K.event.special.change = {
            setup: function() {
                if (je.test(this.nodeName)) return "checkbox" !== this.type && "radio" !== this.type || (K.event.add(this, "propertychange._change", function(e) {
                    "checked" === e.originalEvent.propertyName && (this._just_changed = !0)
                }), K.event.add(this, "click._change", function(e) {
                    this._just_changed && !e.isTrigger && (this._just_changed = !1), K.event.simulate("change", this, e, !0)
                })), !1;
                K.event.add(this, "beforeactivate._change", function(e) {
                    var t = e.target;
                    je.test(t.nodeName) && !K._data(t, "_change_attached") && (K.event.add(t, "change._change", function(e) {
                        this.parentNode && !e.isSimulated && !e.isTrigger && K.event.simulate("change", this.parentNode, e, !0)
                    }), K._data(t, "_change_attached", !0))
                })
            },
            handle: function(e) {
                var t = e.target;
                if (this !== t || e.isSimulated || e.isTrigger || "radio" !== t.type && "checkbox" !== t.type) return e.handleObj.handler.apply(this, arguments)
            },
            teardown: function() {
                return K.event.remove(this, "._change"), !je.test(this.nodeName)
            }
        }), K.support.focusinBubbles || K.each({
            focus: "focusin",
            blur: "focusout"
        }, function(e, t) {
            var r = 0,
                n = function(e) {
                    K.event.simulate(t, e.target, K.event.fix(e), !0)
                };
            K.event.special[t] = {
                setup: function() {
                    0 == r++ && $.addEventListener(e, n, !0)
                },
                teardown: function() {
                    0 == --r && $.removeEventListener(e, n, !0)
                }
            }
        }), K.fn.extend({
            on: function(e, r, n, o, a) {
                var s, u;
                if ("object" == typeof e) {
                    "string" != typeof r && (n = n || r, r = t);
                    for (u in e) this.on(u, r, n, e[u], a);
                    return this
                }
                if (null == n && null == o ? (o = r, n = r = t) : null == o && ("string" == typeof r ? (o = n, n = t) : (o = n, n = r, r = t)), !1 === o) o = i;
                else if (!o) return this;
                return 1 === a && (s = o, o = function(e) {
                    return K().off(e), s.apply(this, arguments)
                }, o.guid = s.guid || (s.guid = K.guid++)), this.each(function() {
                    K.event.add(this, e, o, n, r)
                })
            },
            one: function(e, t, r, n) {
                return this.on(e, t, r, n, 1)
            },
            off: function(e, r, n) {
                var o, a;
                if (e && e.preventDefault && e.handleObj) return o = e.handleObj, K(e.delegateTarget).off(o.namespace ? o.origType + "." + o.namespace : o.origType, o.selector, o.handler), this;
                if ("object" == typeof e) {
                    for (a in e) this.off(a, r, e[a]);
                    return this
                }
                return !1 !== r && "function" != typeof r || (n = r, r = t), !1 === n && (n = i), this.each(function() {
                    K.event.remove(this, e, n, r)
                })
            },
            bind: function(e, t, r) {
                return this.on(e, null, t, r)
            },
            unbind: function(e, t) {
                return this.off(e, null, t)
            },
            live: function(e, t, r) {
                return K(this.context).on(e, this.selector, t, r), this
            },
            die: function(e, t) {
                return K(this.context).off(e, this.selector || "**", t), this
            },
            delegate: function(e, t, r, n) {
                return this.on(t, e, r, n)
            },
            undelegate: function(e, t, r) {
                return 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", r)
            },
            trigger: function(e, t) {
                return this.each(function() {
                    K.event.trigger(e, t, this)
                })
            },
            triggerHandler: function(e, t) {
                if (this[0]) return K.event.trigger(e, t, this[0], !0)
            },
            toggle: function(e) {
                var t = arguments,
                    r = e.guid || K.guid++,
                    n = 0,
                    o = function(r) {
                        var o = (K._data(this, "lastToggle" + e.guid) || 0) % n;
                        return K._data(this, "lastToggle" + e.guid, o + 1), r.preventDefault(), t[o].apply(this, arguments) || !1
                    };
                for (o.guid = r; n < t.length;) t[n++].guid = r;
                return this.click(o)
            },
            hover: function(e, t) {
                return this.mouseenter(e).mouseleave(t || e)
            }
        }), K.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "), function(e, t) {
            K.fn[t] = function(e, r) {
                return null == r && (r = e, e = null), arguments.length > 0 ? this.on(t, null, e, r) : this.trigger(t)
            }, ke.test(t) && (K.event.fixHooks[t] = K.event.keyHooks), Oe.test(t) && (K.event.fixHooks[t] = K.event.mouseHooks)
        }),
        function(e, t) {
            function r(e, t, r, n) {
                r = r || [];
                var o, i, a, s, u = (t = t || D).nodeType;
                if (!e || "string" != typeof e) return r;
                if (1 !== u && 9 !== u) return [];
                if (!(a = E(t)) && !n && (o = re.exec(e)))
                    if (s = o[1]) {
                        if (9 === u) {
                            if (!(i = t.getElementById(s)) || !i.parentNode) return r;
                            if (i.id === s) return r.push(i), r
                        } else if (t.ownerDocument && (i = t.ownerDocument.getElementById(s)) && T(t, i) && i.id === s) return r.push(i), r
                    } else {
                        if (o[2]) return I.apply(r, F.call(t.getElementsByTagName(e), 0)), r;
                        if ((s = o[3]) && pe && t.getElementsByClassName) return I.apply(r, F.call(t.getElementsByClassName(s), 0)), r
                    }
                return g(e.replace(Q, "$1"), t, r, n, a)
            }

            function n(e) {
                return function(t) {
                    return "input" === t.nodeName.toLowerCase() && t.type === e
                }
            }

            function o(e) {
                return function(t) {
                    var r = t.nodeName.toLowerCase();
                    return ("input" === r || "button" === r) && t.type === e
                }
            }

            function i(e) {
                return $(function(t) {
                    return t = +t, $(function(r, n) {
                        for (var o, i = e([], r.length, t), a = i.length; a--;) r[o = i[a]] && (r[o] = !(n[o] = r[o]))
                    })
                })
            }

            function s(e, t, r) {
                if (e === t) return r;
                for (var n = e.nextSibling; n;) {
                    if (n === t) return -1;
                    n = n.nextSibling
                }
                return 1
            }

            function u(e, t) {
                var n, o, i, a, s, u, c, l = W[O][e + " "];
                if (l) return t ? 0 : l.slice(0);
                for (s = e, u = [], c = w.preFilter; s;) {
                    n && !(o = Z.exec(s)) || (o && (s = s.slice(o[0].length) || s), u.push(i = [])), n = !1, (o = ee.exec(s)) && (i.push(n = new C(o.shift())), s = s.slice(n.length), n.type = o[0].replace(Q, " "));
                    for (a in w.filter)(o = se[a].exec(s)) && (!c[a] || (o = c[a](o))) && (i.push(n = new C(o.shift())), s = s.slice(n.length), n.type = a, n.matches = o);
                    if (!n) break
                }
                return t ? s.length : s ? r.error(e) : W(e, u).slice(0)
            }

            function c(e, t, r) {
                var n = t.dir,
                    o = r && "parentNode" === t.dir,
                    i = P++;
                return t.first ? function(t, r, i) {
                    for (; t = t[n];)
                        if (o || 1 === t.nodeType) return e(t, r, i)
                } : function(t, r, a) {
                    if (a) {
                        for (; t = t[n];)
                            if ((o || 1 === t.nodeType) && e(t, r, a)) return t
                    } else
                        for (var s, u = L + " " + i + " ", c = u + v; t = t[n];)
                            if (o || 1 === t.nodeType) {
                                if ((s = t[O]) === c) return t.sizset;
                                if ("string" == typeof s && 0 === s.indexOf(u)) {
                                    if (t.sizset) return t
                                } else {
                                    if (t[O] = c, e(t, r, a)) return t.sizset = !0, t;
                                    t.sizset = !1
                                }
                            }
                }
            }

            function l(e) {
                return e.length > 1 ? function(t, r, n) {
                    for (var o = e.length; o--;)
                        if (!e[o](t, r, n)) return !1;
                    return !0
                } : e[0]
            }

            function f(e, t, r, n, o) {
                for (var i, a = [], s = 0, u = e.length, c = null != t; s < u; s++)(i = e[s]) && (r && !r(i, n, o) || (a.push(i), c && t.push(s)));
                return a
            }

            function p(e, t, r, n, o, i) {
                return n && !n[O] && (n = p(n)), o && !o[O] && (o = p(o, i)), $(function(i, a, s, u) {
                    var c, l, p, h = [],
                        d = [],
                        g = a.length,
                        m = i || y(t || "*", s.nodeType ? [s] : s, []),
                        v = !e || !i && t ? m : f(m, h, e, s, u),
                        b = r ? o || (i ? e : g || n) ? [] : a : v;
                    if (r && r(v, b, s, u), n)
                        for (c = f(b, d), n(c, [], s, u), l = c.length; l--;)(p = c[l]) && (b[d[l]] = !(v[d[l]] = p));
                    if (i) {
                        if (o || e) {
                            if (o) {
                                for (c = [], l = b.length; l--;)(p = b[l]) && c.push(v[l] = p);
                                o(null, b = [], c, u)
                            }
                            for (l = b.length; l--;)(p = b[l]) && (c = o ? H.call(i, p) : h[l]) > -1 && (i[c] = !(a[c] = p))
                        }
                    } else b = f(b === a ? b.splice(g, b.length) : b), o ? o(null, a, b, u) : I.apply(a, b)
                })
            }

            function h(e) {
                for (var t, r, n, o = e.length, i = w.relative[e[0].type], a = i || w.relative[" "], s = i ? 1 : 0, u = c(function(e) {
                        return e === t
                    }, a, !0), f = c(function(e) {
                        return H.call(t, e) > -1
                    }, a, !0), d = [function(e, r, n) {
                        return !i && (n || r !== A) || ((t = r).nodeType ? u(e, r, n) : f(e, r, n))
                    }]; s < o; s++)
                    if (r = w.relative[e[s].type]) d = [c(l(d), r)];
                    else {
                        if ((r = w.filter[e[s].type].apply(null, e[s].matches))[O]) {
                            for (n = ++s; n < o && !w.relative[e[n].type]; n++);
                            return p(s > 1 && l(d), s > 1 && e.slice(0, s - 1).join("").replace(Q, "$1"), r, s < n && h(e.slice(s, n)), n < o && h(e = e.slice(n)), n < o && e.join(""))
                        }
                        d.push(r)
                    }
                return l(d)
            }

            function d(e, t) {
                var n = t.length > 0,
                    o = e.length > 0,
                    i = function(a, s, u, c, l) {
                        var p, h, d, y = [],
                            g = 0,
                            m = "0",
                            b = a && [],
                            x = null != l,
                            E = A,
                            T = a || o && w.find.TAG("*", l && s.parentNode || s),
                            S = L += null == E ? 1 : Math.E;
                        for (x && (A = s !== D && s, v = i.el); null != (p = T[m]); m++) {
                            if (o && p) {
                                for (h = 0; d = e[h]; h++)
                                    if (d(p, s, u)) {
                                        c.push(p);
                                        break
                                    }
                                x && (L = S, v = ++i.el)
                            }
                            n && ((p = !d && p) && g--, a && b.push(p))
                        }
                        if (g += m, n && m !== g) {
                            for (h = 0; d = t[h]; h++) d(b, y, s, u);
                            if (a) {
                                if (g > 0)
                                    for (; m--;) !b[m] && !y[m] && (y[m] = R.call(c));
                                y = f(y)
                            }
                            I.apply(c, y), x && !a && y.length > 0 && g + t.length > 1 && r.uniqueSort(c)
                        }
                        return x && (L = S, A = E), b
                    };
                return i.el = 0, n ? $(i) : i
            }

            function y(e, t, n) {
                for (var o = 0, i = t.length; o < i; o++) r(e, t[o], n);
                return n
            }

            function g(e, t, r, n, o) {
                var i, a, s, c, l, f = u(e);
                f.length;
                if (!n && 1 === f.length) {
                    if ((a = f[0] = f[0].slice(0)).length > 2 && "ID" === (s = a[0]).type && 9 === t.nodeType && !o && w.relative[a[1].type]) {
                        if (!(t = w.find.ID(s.matches[0].replace(ae, ""), t, o)[0])) return r;
                        e = e.slice(a.shift().length)
                    }
                    for (i = se.POS.test(e) ? -1 : a.length - 1; i >= 0 && (s = a[i], !w.relative[c = s.type]); i--)
                        if ((l = w.find[c]) && (n = l(s.matches[0].replace(ae, ""), ne.test(a[0].type) && t.parentNode || t, o))) {
                            if (a.splice(i, 1), !(e = n.length && a.join(""))) return I.apply(r, F.call(n, 0)), r;
                            break
                        }
                }
                return S(e, f)(n, t, o, r, ne.test(e)), r
            }

            function m() {}
            var v, b, w, x, E, T, S, _, j, A, N = !0,
                k = "undefined",
                O = ("sizcache" + Math.random()).replace(".", ""),
                C = String,
                D = e.document,
                M = D.documentElement,
                L = 0,
                P = 0,
                R = [].pop,
                I = [].push,
                F = [].slice,
                H = [].indexOf || function(e) {
                    for (var t = 0, r = this.length; t < r; t++)
                        if (this[t] === e) return t;
                    return -1
                },
                $ = function(e, t) {
                    return e[O] = null == t || t, e
                },
                q = function() {
                    var e = {},
                        t = [];
                    return $(function(r, n) {
                        return t.push(r) > w.cacheLength && delete e[t.shift()], e[r + " "] = n
                    }, e)
                },
                B = q(),
                W = q(),
                U = q(),
                z = "[\\x20\\t\\r\\n\\f]",
                X = "(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",
                V = X.replace("w", "w#"),
                G = "\\[" + z + "*(" + X + ")" + z + "*(?:([*^$|!~]?=)" + z + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + V + ")|)|)" + z + "*\\]",
                Y = ":(" + X + ")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:" + G + ")|[^:]|\\\\.)*|.*))\\)|)",
                J = ":(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + z + "*((?:-\\d)?\\d*)" + z + "*\\)|)(?=[^-]|$)",
                Q = new RegExp("^" + z + "+|((?:^|[^\\\\])(?:\\\\.)*)" + z + "+$", "g"),
                Z = new RegExp("^" + z + "*," + z + "*"),
                ee = new RegExp("^" + z + "*([\\x20\\t\\r\\n\\f>+~])" + z + "*"),
                te = new RegExp(Y),
                re = /^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,
                ne = /[\x20\t\r\n\f]*[+~]/,
                oe = /h\d/i,
                ie = /input|select|textarea|button/i,
                ae = /\\(?!\\)/g,
                se = {
                    ID: new RegExp("^#(" + X + ")"),
                    CLASS: new RegExp("^\\.(" + X + ")"),
                    NAME: new RegExp("^\\[name=['\"]?(" + X + ")['\"]?\\]"),
                    TAG: new RegExp("^(" + X.replace("w", "w*") + ")"),
                    ATTR: new RegExp("^" + G),
                    PSEUDO: new RegExp("^" + Y),
                    POS: new RegExp(J, "i"),
                    CHILD: new RegExp("^:(only|nth|first|last)-child(?:\\(" + z + "*(even|odd|(([+-]|)(\\d*)n|)" + z + "*(?:([+-]|)" + z + "*(\\d+)|))" + z + "*\\)|)", "i"),
                    needsContext: new RegExp("^" + z + "*[>+~]|" + J, "i")
                },
                ue = function(e) {
                    var t = D.createElement("div");
                    try {
                        return e(t)
                    } catch (v) {
                        return !1
                    } finally {
                        t = null
                    }
                },
                ce = ue(function(e) {
                    return e.appendChild(D.createComment("")), !e.getElementsByTagName("*").length
                }),
                le = ue(function(e) {
                    return e.innerHTML = "<a href='#'></a>", e.firstChild && typeof e.firstChild.getAttribute !== k && "#" === e.firstChild.getAttribute("href")
                }),
                fe = ue(function(e) {
                    e.innerHTML = "<select></select>";
                    var t = typeof e.lastChild.getAttribute("multiple");
                    return "boolean" !== t && "string" !== t
                }),
                pe = ue(function(e) {
                    return e.innerHTML = "<div class='hidden e'></div><div class='hidden'></div>", !(!e.getElementsByClassName || !e.getElementsByClassName("e").length) && (e.lastChild.className = "e", 2 === e.getElementsByClassName("e").length)
                }),
                he = ue(function(e) {
                    e.id = O + 0, e.innerHTML = "<a name='" + O + "'></a><div name='" + O + "'></div>", M.insertBefore(e, M.firstChild);
                    var t = D.getElementsByName && D.getElementsByName(O).length === 2 + D.getElementsByName(O + 0).length;
                    return b = !D.getElementById(O), M.removeChild(e), t
                });
            try {
                F.call(M.childNodes, 0)[0].nodeType
            } catch (a) {
                F = function(e) {
                    for (var t, r = []; t = this[e]; e++) r.push(t);
                    return r
                }
            }
            r.matches = function(e, t) {
                return r(e, null, null, t)
            }, r.matchesSelector = function(e, t) {
                return r(t, null, null, [e]).length > 0
            }, x = r.getText = function(e) {
                var t, r = "",
                    n = 0,
                    o = e.nodeType;
                if (o) {
                    if (1 === o || 9 === o || 11 === o) {
                        if ("string" == typeof e.textContent) return e.textContent;
                        for (e = e.firstChild; e; e = e.nextSibling) r += x(e)
                    } else if (3 === o || 4 === o) return e.nodeValue
                } else
                    for (; t = e[n]; n++) r += x(t);
                return r
            }, E = r.isXML = function(e) {
                var t = e && (e.ownerDocument || e).documentElement;
                return !!t && "HTML" !== t.nodeName
            }, T = r.contains = M.contains ? function(e, t) {
                var r = 9 === e.nodeType ? e.documentElement : e,
                    n = t && t.parentNode;
                return e === n || !!(n && 1 === n.nodeType && r.contains && r.contains(n))
            } : M.compareDocumentPosition ? function(e, t) {
                return t && !!(16 & e.compareDocumentPosition(t))
            } : function(e, t) {
                for (; t = t.parentNode;)
                    if (t === e) return !0;
                return !1
            }, r.attr = function(e, t) {
                var r, n = E(e);
                return n || (t = t.toLowerCase()), (r = w.attrHandle[t]) ? r(e) : n || fe ? e.getAttribute(t) : (r = e.getAttributeNode(t)) ? "boolean" == typeof e[t] ? e[t] ? t : null : r.specified ? r.value : null : null
            }, w = r.selectors = {
                cacheLength: 50,
                createPseudo: $,
                match: se,
                attrHandle: le ? {} : {
                    href: function(e) {
                        return e.getAttribute("href", 2)
                    },
                    type: function(e) {
                        return e.getAttribute("type")
                    }
                },
                find: {
                    ID: b ? function(e, t, r) {
                        if (typeof t.getElementById !== k && !r) {
                            var n = t.getElementById(e);
                            return n && n.parentNode ? [n] : []
                        }
                    } : function(e, t, r) {
                        if (typeof t.getElementById !== k && !r) {
                            var n = t.getElementById(e);
                            return n ? n.id === e || typeof n.getAttributeNode !== k && n.getAttributeNode("id").value === e ? [n] : void 0 : []
                        }
                    },
                    TAG: ce ? function(e, t) {
                        if (typeof t.getElementsByTagName !== k) return t.getElementsByTagName(e)
                    } : function(e, t) {
                        var r = t.getElementsByTagName(e);
                        if ("*" === e) {
                            for (var n, o = [], i = 0; n = r[i]; i++) 1 === n.nodeType && o.push(n);
                            return o
                        }
                        return r
                    },
                    NAME: he && function(e, t) {
                        if (typeof t.getElementsByName !== k) return t.getElementsByName(name)
                    },
                    CLASS: pe && function(e, t, r) {
                        if (typeof t.getElementsByClassName !== k && !r) return t.getElementsByClassName(e)
                    }
                },
                relative: {
                    ">": {
                        dir: "parentNode",
                        first: !0
                    },
                    " ": {
                        dir: "parentNode"
                    },
                    "+": {
                        dir: "previousSibling",
                        first: !0
                    },
                    "~": {
                        dir: "previousSibling"
                    }
                },
                preFilter: {
                    ATTR: function(e) {
                        return e[1] = e[1].replace(ae, ""), e[3] = (e[4] || e[5] || "").replace(ae, ""), "~=" === e[2] && (e[3] = " " + e[3] + " "), e.slice(0, 4)
                    },
                    CHILD: function(e) {
                        return e[1] = e[1].toLowerCase(), "nth" === e[1] ? (e[2] || r.error(e[0]), e[3] = +(e[3] ? e[4] + (e[5] || 1) : 2 * ("even" === e[2] || "odd" === e[2])), e[4] = +(e[6] + e[7] || "odd" === e[2])) : e[2] && r.error(e[0]), e
                    },
                    PSEUDO: function(e) {
                        var t, r;
                        return se.CHILD.test(e[0]) ? null : (e[3] ? e[2] = e[3] : (t = e[4]) && (te.test(t) && (r = u(t, !0)) && (r = t.indexOf(")", t.length - r) - t.length) && (t = t.slice(0, r), e[0] = e[0].slice(0, r)), e[2] = t), e.slice(0, 3))
                    }
                },
                filter: {
                    ID: b ? function(e) {
                        return e = e.replace(ae, ""),
                            function(t) {
                                return t.getAttribute("id") === e
                            }
                    } : function(e) {
                        return e = e.replace(ae, ""),
                            function(t) {
                                var r = typeof t.getAttributeNode !== k && t.getAttributeNode("id");
                                return r && r.value === e
                            }
                    },
                    TAG: function(e) {
                        return "*" === e ? function() {
                            return !0
                        } : (e = e.replace(ae, "").toLowerCase(), function(t) {
                            return t.nodeName && t.nodeName.toLowerCase() === e
                        })
                    },
                    CLASS: function(e) {
                        var t = B[O][e + " "];
                        return t || (t = new RegExp("(^|" + z + ")" + e + "(" + z + "|$)")) && B(e, function(e) {
                            return t.test(e.className || typeof e.getAttribute !== k && e.getAttribute("class") || "")
                        })
                    },
                    ATTR: function(e, t, n) {
                        return function(o, i) {
                            var a = r.attr(o, e);
                            return null == a ? "!=" === t : !t || (a += "", "=" === t ? a === n : "!=" === t ? a !== n : "^=" === t ? n && 0 === a.indexOf(n) : "*=" === t ? n && a.indexOf(n) > -1 : "$=" === t ? n && a.substr(a.length - n.length) === n : "~=" === t ? (" " + a + " ").indexOf(n) > -1 : "|=" === t && (a === n || a.substr(0, n.length + 1) === n + "-"))
                        }
                    },
                    CHILD: function(e, t, r, n) {
                        return "nth" === e ? function(e) {
                            var t, o, i = e.parentNode;
                            if (1 === r && 0 === n) return !0;
                            if (i)
                                for (o = 0, t = i.firstChild; t && (1 !== t.nodeType || (o++, e !== t)); t = t.nextSibling);
                            return (o -= n) === r || o % r == 0 && o / r >= 0
                        } : function(t) {
                            var r = t;
                            switch (e) {
                                case "only":
                                case "first":
                                    for (; r = r.previousSibling;)
                                        if (1 === r.nodeType) return !1;
                                    if ("first" === e) return !0;
                                    r = t;
                                case "last":
                                    for (; r = r.nextSibling;)
                                        if (1 === r.nodeType) return !1;
                                    return !0
                            }
                        }
                    },
                    PSEUDO: function(e, t) {
                        var n, o = w.pseudos[e] || w.setFilters[e.toLowerCase()] || r.error("unsupported pseudo: " + e);
                        return o[O] ? o(t) : o.length > 1 ? (n = [e, e, "", t], w.setFilters.hasOwnProperty(e.toLowerCase()) ? $(function(e, r) {
                            for (var n, i = o(e, t), a = i.length; a--;) n = H.call(e, i[a]), e[n] = !(r[n] = i[a])
                        }) : function(e) {
                            return o(e, 0, n)
                        }) : o
                    }
                },
                pseudos: {
                    not: $(function(e) {
                        var t = [],
                            r = [],
                            n = S(e.replace(Q, "$1"));
                        return n[O] ? $(function(e, t, r, o) {
                            for (var i, a = n(e, null, o, []), s = e.length; s--;)(i = a[s]) && (e[s] = !(t[s] = i))
                        }) : function(e, o, i) {
                            return t[0] = e, n(t, null, i, r), !r.pop()
                        }
                    }),
                    has: $(function(e) {
                        return function(t) {
                            return r(e, t).length > 0
                        }
                    }),
                    contains: $(function(e) {
                        return function(t) {
                            return (t.textContent || t.innerText || x(t)).indexOf(e) > -1
                        }
                    }),
                    enabled: function(e) {
                        return !1 === e.disabled
                    },
                    disabled: function(e) {
                        return !0 === e.disabled
                    },
                    checked: function(e) {
                        var t = e.nodeName.toLowerCase();
                        return "input" === t && !!e.checked || "option" === t && !!e.selected
                    },
                    selected: function(e) {
                        return e.parentNode && e.parentNode.selectedIndex, !0 === e.selected
                    },
                    parent: function(e) {
                        return !w.pseudos.empty(e)
                    },
                    empty: function(e) {
                        var t;
                        for (e = e.firstChild; e;) {
                            if (e.nodeName > "@" || 3 === (t = e.nodeType) || 4 === t) return !1;
                            e = e.nextSibling
                        }
                        return !0
                    },
                    header: function(e) {
                        return oe.test(e.nodeName)
                    },
                    text: function(e) {
                        var t, r;
                        return "input" === e.nodeName.toLowerCase() && "text" === (t = e.type) && (null == (r = e.getAttribute("type")) || r.toLowerCase() === t)
                    },
                    radio: n("radio"),
                    checkbox: n("checkbox"),
                    file: n("file"),
                    password: n("password"),
                    image: n("image"),
                    submit: o("submit"),
                    reset: o("reset"),
                    button: function(e) {
                        var t = e.nodeName.toLowerCase();
                        return "input" === t && "button" === e.type || "button" === t
                    },
                    input: function(e) {
                        return ie.test(e.nodeName)
                    },
                    focus: function(e) {
                        var t = e.ownerDocument;
                        return e === t.activeElement && (!t.hasFocus || t.hasFocus()) && !!(e.type || e.href || ~e.tabIndex)
                    },
                    active: function(e) {
                        return e === e.ownerDocument.activeElement
                    },
                    first: i(function() {
                        return [0]
                    }),
                    last: i(function(e, t) {
                        return [t - 1]
                    }),
                    eq: i(function(e, t, r) {
                        return [r < 0 ? r + t : r]
                    }),
                    even: i(function(e, t) {
                        for (var r = 0; r < t; r += 2) e.push(r);
                        return e
                    }),
                    odd: i(function(e, t) {
                        for (var r = 1; r < t; r += 2) e.push(r);
                        return e
                    }),
                    lt: i(function(e, t, r) {
                        for (var n = r < 0 ? r + t : r; --n >= 0;) e.push(n);
                        return e
                    }),
                    gt: i(function(e, t, r) {
                        for (var n = r < 0 ? r + t : r; ++n < t;) e.push(n);
                        return e
                    })
                }
            }, _ = M.compareDocumentPosition ? function(e, t) {
                return e === t ? (j = !0, 0) : (e.compareDocumentPosition && t.compareDocumentPosition ? 4 & e.compareDocumentPosition(t) : e.compareDocumentPosition) ? -1 : 1
            } : function(e, t) {
                if (e === t) return j = !0, 0;
                if (e.sourceIndex && t.sourceIndex) return e.sourceIndex - t.sourceIndex;
                var r, n, o = [],
                    i = [],
                    a = e.parentNode,
                    u = t.parentNode,
                    c = a;
                if (a === u) return s(e, t);
                if (!a) return -1;
                if (!u) return 1;
                for (; c;) o.unshift(c), c = c.parentNode;
                for (c = u; c;) i.unshift(c), c = c.parentNode;
                r = o.length, n = i.length;
                for (var l = 0; l < r && l < n; l++)
                    if (o[l] !== i[l]) return s(o[l], i[l]);
                return l === r ? s(e, i[l], -1) : s(o[l], t, 1)
            }, [0, 0].sort(_), N = !j, r.uniqueSort = function(e) {
                var t, r = [],
                    n = 1,
                    o = 0;
                if (j = N, e.sort(_), j) {
                    for (; t = e[n]; n++) t === e[n - 1] && (o = r.push(n));
                    for (; o--;) e.splice(r[o], 1)
                }
                return e
            }, r.error = function(e) {
                throw new Error("Syntax error, unrecognized expression: " + e)
            }, S = r.compile = function(e, t) {
                var r, n = [],
                    o = [],
                    i = U[O][e + " "];
                if (!i) {
                    for (t || (t = u(e)), r = t.length; r--;)(i = h(t[r]))[O] ? n.push(i) : o.push(i);
                    i = U(e, d(o, n))
                }
                return i
            }, D.querySelectorAll && function() {
                var e, t = g,
                    n = /'|\\/g,
                    o = /\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,
                    i = [":focus"],
                    a = [":active"],
                    s = M.matchesSelector || M.mozMatchesSelector || M.webkitMatchesSelector || M.oMatchesSelector || M.msMatchesSelector;
                ue(function(e) {
                    e.innerHTML = "<select><option selected=''></option></select>", e.querySelectorAll("[selected]").length || i.push("\\[" + z + "*(?:checked|disabled|ismap|multiple|readonly|selected|value)"), e.querySelectorAll(":checked").length || i.push(":checked")
                }), ue(function(e) {
                    e.innerHTML = "<p test=''></p>", e.querySelectorAll("[test^='']").length && i.push("[*^$]=" + z + "*(?:\"\"|'')"), e.innerHTML = "<input type='hidden'/>", e.querySelectorAll(":enabled").length || i.push(":enabled", ":disabled")
                }), i = new RegExp(i.join("|")), g = function(e, r, o, a, s) {
                    if (!a && !s && !i.test(e)) {
                        var c, l, f = !0,
                            p = O,
                            h = r,
                            d = 9 === r.nodeType && e;
                        if (1 === r.nodeType && "object" !== r.nodeName.toLowerCase()) {
                            for (c = u(e), (f = r.getAttribute("id")) ? p = f.replace(n, "\\$&") : r.setAttribute("id", p), p = "[id='" + p + "'] ", l = c.length; l--;) c[l] = p + c[l].join("");
                            h = ne.test(e) && r.parentNode || r, d = c.join(",")
                        }
                        if (d) try {
                            return I.apply(o, F.call(h.querySelectorAll(d), 0)), o
                        } catch (K) {} finally {
                            f || r.removeAttribute("id")
                        }
                    }
                    return t(e, r, o, a, s)
                }, s && (ue(function(t) {
                    e = s.call(t, "div");
                    try {
                        s.call(t, "[test!='']:sizzle"), a.push("!=", Y)
                    } catch (n) {}
                }), a = new RegExp(a.join("|")), r.matchesSelector = function(t, n) {
                    if (n = n.replace(o, "='$1']"), !E(t) && !a.test(n) && !i.test(n)) try {
                        var u = s.call(t, n);
                        if (u || e || t.document && 11 !== t.document.nodeType) return u
                    } catch (_) {}
                    return r(n, null, null, [t]).length > 0
                })
            }(), w.pseudos.nth = w.pseudos.eq, w.filters = m.prototype = w.pseudos, w.setFilters = new m, r.attr = K.attr, K.find = r, K.expr = r.selectors, K.expr[":"] = K.expr.pseudos, K.unique = r.uniqueSort, K.text = r.getText, K.isXMLDoc = r.isXML, K.contains = r.contains
        }(e);
    var Me = /Until$/,
        Le = /^(?:parents|prev(?:Until|All))/,
        Pe = /^.[^:#\[\.,]*$/,
        Re = K.expr.match.needsContext,
        Ie = {
            children: !0,
            contents: !0,
            next: !0,
            prev: !0
        };
    K.fn.extend({
        find: function(e) {
            var t, r, n, o, i, a, s = this;
            if ("string" != typeof e) return K(e).filter(function() {
                for (t = 0, r = s.length; t < r; t++)
                    if (K.contains(s[t], this)) return !0
            });
            for (a = this.pushStack("", "find", e), t = 0, r = this.length; t < r; t++)
                if (n = a.length, K.find(e, this[t], a), t > 0)
                    for (o = n; o < a.length; o++)
                        for (i = 0; i < n; i++)
                            if (a[i] === a[o]) {
                                a.splice(o--, 1);
                                break
                            }
            return a
        },
        has: function(e) {
            var t, r = K(e, this),
                n = r.length;
            return this.filter(function() {
                for (t = 0; t < n; t++)
                    if (K.contains(this, r[t])) return !0
            })
        },
        not: function(e) {
            return this.pushStack(c(this, e, !1), "not", e)
        },
        filter: function(e) {
            return this.pushStack(c(this, e, !0), "filter", e)
        },
        is: function(e) {
            return !!e && ("string" == typeof e ? Re.test(e) ? K(e, this.context).index(this[0]) >= 0 : K.filter(e, this).length > 0 : this.filter(e).length > 0)
        },
        closest: function(e, t) {
            for (var r, n = 0, o = this.length, i = [], a = Re.test(e) || "string" != typeof e ? K(e, t || this.context) : 0; n < o; n++)
                for (r = this[n]; r && r.ownerDocument && r !== t && 11 !== r.nodeType;) {
                    if (a ? a.index(r) > -1 : K.find.matchesSelector(r, e)) {
                        i.push(r);
                        break
                    }
                    r = r.parentNode
                }
            return i = i.length > 1 ? K.unique(i) : i, this.pushStack(i, "closest", e)
        },
        index: function(e) {
            return e ? "string" == typeof e ? K.inArray(this[0], K(e)) : K.inArray(e.jquery ? e[0] : e, this) : this[0] && this[0].parentNode ? this.prevAll().length : -1
        },
        add: function(e, t) {
            var r = "string" == typeof e ? K(e, t) : K.makeArray(e && e.nodeType ? [e] : e),
                n = K.merge(this.get(), r);
            return this.pushStack(s(r[0]) || s(n[0]) ? n : K.unique(n))
        },
        addBack: function(e) {
            return this.add(null == e ? this.prevObject : this.prevObject.filter(e))
        }
    }), K.fn.andSelf = K.fn.addBack, K.each({
        parent: function(e) {
            var t = e.parentNode;
            return t && 11 !== t.nodeType ? t : null
        },
        parents: function(e) {
            return K.dir(e, "parentNode")
        },
        parentsUntil: function(e, t, r) {
            return K.dir(e, "parentNode", r)
        },
        next: function(e) {
            return u(e, "nextSibling")
        },
        prev: function(e) {
            return u(e, "previousSibling")
        },
        nextAll: function(e) {
            return K.dir(e, "nextSibling")
        },
        prevAll: function(e) {
            return K.dir(e, "previousSibling")
        },
        nextUntil: function(e, t, r) {
            return K.dir(e, "nextSibling", r)
        },
        prevUntil: function(e, t, r) {
            return K.dir(e, "previousSibling", r)
        },
        siblings: function(e) {
            return K.sibling((e.parentNode || {}).firstChild, e)
        },
        children: function(e) {
            return K.sibling(e.firstChild)
        },
        contents: function(e) {
            return K.nodeName(e, "iframe") ? e.contentDocument || e.contentWindow.document : K.merge([], e.childNodes)
        }
    }, function(e, t) {
        K.fn[e] = function(r, n) {
            var o = K.map(this, t, r);
            return Me.test(e) || (n = r), n && "string" == typeof n && (o = K.filter(n, o)), o = this.length > 1 && !Ie[e] ? K.unique(o) : o, this.length > 1 && Le.test(e) && (o = o.reverse()), this.pushStack(o, e, X.call(arguments).join(","))
        }
    }), K.extend({
        filter: function(e, t, r) {
            return r && (e = ":not(" + e + ")"), 1 === t.length ? K.find.matchesSelector(t[0], e) ? [t[0]] : [] : K.find.matches(e, t)
        },
        dir: function(e, r, n) {
            for (var o = [], i = e[r]; i && 9 !== i.nodeType && (n === t || 1 !== i.nodeType || !K(i).is(n));) 1 === i.nodeType && o.push(i), i = i[r];
            return o
        },
        sibling: function(e, t) {
            for (var r = []; e; e = e.nextSibling) 1 === e.nodeType && e !== t && r.push(e);
            return r
        }
    });
    var Fe = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
        He = / jQuery\d+="(?:null|\d+)"/g,
        $e = /^\s+/,
        qe = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
        Be = /<([\w:]+)/,
        We = /<tbody/i,
        Ue = /<|&#?\w+;/,
        ze = /<(?:script|style|link)/i,
        Xe = /<(?:script|object|embed|option|style)/i,
        Ve = new RegExp("<(?:" + Fe + ")[\\s/>]", "i"),
        Ge = /^(?:checkbox|radio)$/,
        Ye = /checked\s*(?:[^=]|=\s*.checked.)/i,
        Je = /\/(java|ecma)script/i,
        Ke = /^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,
        Qe = {
            option: [1, "<select multiple='multiple'>", "</select>"],
            legend: [1, "<fieldset>", "</fieldset>"],
            thead: [1, "<table>", "</table>"],
            tr: [2, "<table><tbody>", "</tbody></table>"],
            td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
            col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
            area: [1, "<map>", "</map>"],
            _default: [0, "", ""]
        },
        Ze = l($),
        et = Ze.appendChild($.createElement("div"));
    Qe.optgroup = Qe.option, Qe.tbody = Qe.tfoot = Qe.colgroup = Qe.caption = Qe.thead, Qe.th = Qe.td, K.support.htmlSerialize || (Qe._default = [1, "X<div>", "</div>"]), K.fn.extend({
            text: function(e) {
                return K.access(this, function(e) {
                    return e === t ? K.text(this) : this.empty().append((this[0] && this[0].ownerDocument || $).createTextNode(e))
                }, null, e, arguments.length)
            },
            wrapAll: function(e) {
                if (K.isFunction(e)) return this.each(function(t) {
                    K(this).wrapAll(e.call(this, t))
                });
                if (this[0]) {
                    var t = K(e, this[0].ownerDocument).eq(0).clone(!0);
                    this[0].parentNode && t.insertBefore(this[0]), t.map(function() {
                        for (var e = this; e.firstChild && 1 === e.firstChild.nodeType;) e = e.firstChild;
                        return e
                    }).append(this)
                }
                return this
            },
            wrapInner: function(e) {
                return K.isFunction(e) ? this.each(function(t) {
                    K(this).wrapInner(e.call(this, t))
                }) : this.each(function() {
                    var t = K(this),
                        r = t.contents();
                    r.length ? r.wrapAll(e) : t.append(e)
                })
            },
            wrap: function(e) {
                var t = K.isFunction(e);
                return this.each(function(r) {
                    K(this).wrapAll(t ? e.call(this, r) : e)
                })
            },
            unwrap: function() {
                return this.parent().each(function() {
                    K.nodeName(this, "body") || K(this).replaceWith(this.childNodes)
                }).end()
            },
            append: function() {
                return this.domManip(arguments, !0, function(e) {
                    (1 === this.nodeType || 11 === this.nodeType) && this.appendChild(e)
                })
            },
            prepend: function() {
                return this.domManip(arguments, !0, function(e) {
                    (1 === this.nodeType || 11 === this.nodeType) && this.insertBefore(e, this.firstChild)
                })
            },
            before: function() {
                if (!s(this[0])) return this.domManip(arguments, !1, function(e) {
                    this.parentNode.insertBefore(e, this)
                });
                if (arguments.length) {
                    var e = K.clean(arguments);
                    return this.pushStack(K.merge(e, this), "before", this.selector)
                }
            },
            after: function() {
                if (!s(this[0])) return this.domManip(arguments, !1, function(e) {
                    this.parentNode.insertBefore(e, this.nextSibling)
                });
                if (arguments.length) {
                    var e = K.clean(arguments);
                    return this.pushStack(K.merge(this, e), "after", this.selector)
                }
            },
            remove: function(e, t) {
                for (var r, n = 0; null != (r = this[n]); n++) e && !K.filter(e, [r]).length || (!t && 1 === r.nodeType && (K.cleanData(r.getElementsByTagName("*")), K.cleanData([r])), r.parentNode && r.parentNode.removeChild(r));
                return this
            },
            empty: function() {
                for (var e, t = 0; null != (e = this[t]); t++)
                    for (1 === e.nodeType && K.cleanData(e.getElementsByTagName("*")); e.firstChild;) e.removeChild(e.firstChild);
                return this
            },
            clone: function(e, t) {
                return e = null != e && e, t = null == t ? e : t, this.map(function() {
                    return K.clone(this, e, t)
                })
            },
            html: function(e) {
                return K.access(this, function(e) {
                    var r = this[0] || {},
                        n = 0,
                        o = this.length;
                    if (e === t) return 1 === r.nodeType ? r.innerHTML.replace(He, "") : t;
                    if ("string" == typeof e && !ze.test(e) && (K.support.htmlSerialize || !Ve.test(e)) && (K.support.leadingWhitespace || !$e.test(e)) && !Qe[(Be.exec(e) || ["", ""])[1].toLowerCase()]) {
                        e = e.replace(qe, "<$1></$2>");
                        try {
                            for (; n < o; n++) 1 === (r = this[n] || {}).nodeType && (K.cleanData(r.getElementsByTagName("*")), r.innerHTML = e);
                            r = 0
                        } catch (q) {}
                    }
                    r && this.empty().append(e)
                }, null, e, arguments.length)
            },
            replaceWith: function(e) {
                return s(this[0]) ? this.length ? this.pushStack(K(K.isFunction(e) ? e() : e), "replaceWith", e) : this : K.isFunction(e) ? this.each(function(t) {
                    var r = K(this),
                        n = r.html();
                    r.replaceWith(e.call(this, t, n))
                }) : ("string" != typeof e && (e = K(e).detach()), this.each(function() {
                    var t = this.nextSibling,
                        r = this.parentNode;
                    K(this).remove(), t ? K(t).before(e) : K(r).append(e)
                }))
            },
            detach: function(e) {
                return this.remove(e, !0)
            },
            domManip: function(e, r, n) {
                var o, i, a, s, u = 0,
                    c = (e = [].concat.apply([], e))[0],
                    l = [],
                    p = this.length;
                if (!K.support.checkClone && p > 1 && "string" == typeof c && Ye.test(c)) return this.each(function() {
                    K(this).domManip(e, r, n)
                });
                if (K.isFunction(c)) return this.each(function(o) {
                    var i = K(this);
                    e[0] = c.call(this, o, r ? i.html() : t), i.domManip(e, r, n)
                });
                if (this[0]) {
                    if (o = K.buildFragment(e, this, l), a = o.fragment, i = a.firstChild, 1 === a.childNodes.length && (a = i), i)
                        for (r = r && K.nodeName(i, "tr"), s = o.cacheable || p - 1; u < p; u++) n.call(r && K.nodeName(this[u], "table") ? f(this[u], "tbody") : this[u], u === s ? a : K.clone(a, !0, !0));
                    a = i = null, l.length && K.each(l, function(e, t) {
                        t.src ? K.ajax ? K.ajax({
                            url: t.src,
                            type: "GET",
                            dataType: "script",
                            async: !1,
                            global: !1,
                            "throws": !0
                        }) : K.error("no ajax") : K.globalEval((t.text || t.textContent || t.innerHTML || "").replace(Ke, "")), t.parentNode && t.parentNode.removeChild(t)
                    })
                }
                return this
            }
        }), K.buildFragment = function(e, r, n) {
            var o, i, a, s = e[0];
            return r = r || $, r = !r.nodeType && r[0] || r, r = r.ownerDocument || r, 1 === e.length && "string" == typeof s && s.length < 512 && r === $ && "<" === s.charAt(0) && !Xe.test(s) && (K.support.checkClone || !Ye.test(s)) && (K.support.html5Clone || !Ve.test(s)) && (i = !0, o = K.fragments[s], a = o !== t), o || (o = r.createDocumentFragment(), K.clean(e, r, o, n), i && (K.fragments[s] = a && o)), {
                fragment: o,
                cacheable: i
            }
        }, K.fragments = {}, K.each({
            appendTo: "append",
            prependTo: "prepend",
            insertBefore: "before",
            insertAfter: "after",
            replaceAll: "replaceWith"
        }, function(e, t) {
            K.fn[e] = function(r) {
                var n, o = 0,
                    i = [],
                    a = K(r),
                    s = a.length,
                    u = 1 === this.length && this[0].parentNode;
                if ((null == u || u && 11 === u.nodeType && 1 === u.childNodes.length) && 1 === s) return a[t](this[0]), this;
                for (; o < s; o++) n = (o > 0 ? this.clone(!0) : this).get(), K(a[o])[t](n), i = i.concat(n);
                return this.pushStack(i, e, a.selector)
            }
        }), K.extend({
            clone: function(e, t, r) {
                var n, o, i, a;
                if (K.support.html5Clone || K.isXMLDoc(e) || !Ve.test("<" + e.nodeName + ">") ? a = e.cloneNode(!0) : (et.innerHTML = e.outerHTML, et.removeChild(a = et.firstChild)), !(K.support.noCloneEvent && K.support.noCloneChecked || 1 !== e.nodeType && 11 !== e.nodeType || K.isXMLDoc(e)))
                    for (h(e, a), n = d(e), o = d(a), i = 0; n[i]; ++i) o[i] && h(n[i], o[i]);
                if (t && (p(e, a), r))
                    for (n = d(e), o = d(a), i = 0; n[i]; ++i) p(n[i], o[i]);
                return n = o = null, a
            },
            clean: function(e, t, r, n) {
                var o, i, a, s, u, c, f, p, h, d, g, m = t === $ && Ze,
                    v = [];
                for (t && "undefined" != typeof t.createDocumentFragment || (t = $), o = 0; null != (a = e[o]); o++)
                    if ("number" == typeof a && (a += ""), a) {
                        if ("string" == typeof a)
                            if (Ue.test(a)) {
                                for (m = m || l(t), f = t.createElement("div"), m.appendChild(f), a = a.replace(qe, "<$1></$2>"), s = (Be.exec(a) || ["", ""])[1].toLowerCase(), c = (u = Qe[s] || Qe._default)[0], f.innerHTML = u[1] + a + u[2]; c--;) f = f.lastChild;
                                if (!K.support.tbody)
                                    for (p = We.test(a), i = (h = "table" !== s || p ? "<table>" !== u[1] || p ? [] : f.childNodes : f.firstChild && f.firstChild.childNodes).length - 1; i >= 0; --i) K.nodeName(h[i], "tbody") && !h[i].childNodes.length && h[i].parentNode.removeChild(h[i]);
                                !K.support.leadingWhitespace && $e.test(a) && f.insertBefore(t.createTextNode($e.exec(a)[0]), f.firstChild), a = f.childNodes, f.parentNode.removeChild(f)
                            } else a = t.createTextNode(a);
                        a.nodeType ? v.push(a) : K.merge(v, a)
                    }
                if (f && (a = f = m = null), !K.support.appendChecked)
                    for (o = 0; null != (a = v[o]); o++) K.nodeName(a, "input") ? y(a) : "undefined" != typeof a.getElementsByTagName && K.grep(a.getElementsByTagName("input"), y);
                if (r)
                    for (d = function(e) {
                            if (!e.type || Je.test(e.type)) return n ? n.push(e.parentNode ? e.parentNode.removeChild(e) : e) : r.appendChild(e)
                        }, o = 0; null != (a = v[o]); o++) K.nodeName(a, "script") && d(a) || (r.appendChild(a), "undefined" != typeof a.getElementsByTagName && (g = K.grep(K.merge([], a.getElementsByTagName("script")), d), v.splice.apply(v, [o + 1, 0].concat(g)), o += g.length));
                return v
            },
            cleanData: function(e, t) {
                for (var r, n, o, i, a = 0, s = K.expando, u = K.cache, c = K.support.deleteExpando, l = K.event.special; null != (o = e[a]); a++)
                    if ((t || K.acceptData(o)) && (n = o[s], r = n && u[n])) {
                        if (r.events)
                            for (i in r.events) l[i] ? K.event.remove(o, i) : K.removeEvent(o, i, r.handle);
                        u[n] && (delete u[n], c ? delete o[s] : o.removeAttribute ? o.removeAttribute(s) : o[s] = null, K.deletedIds.push(n))
                    }
            }
        }),
        function() {
            var e, t;
            K.uaMatch = function(e) {
                e = e.toLowerCase();
                var t = /(chrome)[ \/]([\w.]+)/.exec(e) || /(webkit)[ \/]([\w.]+)/.exec(e) || /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e) || /(msie) ([\w.]+)/.exec(e) || e.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e) || [];
                return {
                    browser: t[1] || "",
                    version: t[2] || "0"
                }
            }, t = {}, (e = K.uaMatch(B.userAgent)).browser && (t[e.browser] = !0, t.version = e.version), t.chrome ? t.webkit = !0 : t.webkit && (t.safari = !0), K.browser = t, K.sub = function() {
                function e(t, r) {
                    return new e.fn.init(t, r)
                }
                K.extend(!0, e, this), e.superclass = this, e.fn = e.prototype = this(), e.fn.constructor = e, e.sub = this.sub, e.fn.init = function(r, n) {
                    return n && n instanceof K && !(n instanceof e) && (n = e(n)), K.fn.init.call(this, r, n, t)
                }, e.fn.init.prototype = e.fn;
                var t = e($);
                return e
            }
        }();
    var tt, rt, nt, ot = /alpha\([^)]*\)/i,
        it = /opacity=([^)]*)/,
        at = /^(top|right|bottom|left)$/,
        st = /^(none|table(?!-c[ea]).+)/,
        ut = /^margin/,
        ct = new RegExp("^(" + Q + ")(.*)$", "i"),
        lt = new RegExp("^(" + Q + ")(?!px)[a-z%]+$", "i"),
        ft = new RegExp("^([-+])=(" + Q + ")", "i"),
        pt = {
            BODY: "block"
        },
        ht = {
            position: "absolute",
            visibility: "hidden",
            display: "block"
        },
        dt = {
            letterSpacing: 0,
            fontWeight: 400
        },
        yt = ["Top", "Right", "Bottom", "Left"],
        gt = ["Webkit", "O", "Moz", "ms"],
        mt = K.fn.toggle;
    K.fn.extend({
        css: function(e, r) {
            return K.access(this, function(e, r, n) {
                return n !== t ? K.style(e, r, n) : K.css(e, r)
            }, e, r, arguments.length > 1)
        },
        show: function() {
            return v(this, !0)
        },
        hide: function() {
            return v(this)
        },
        toggle: function(e, t) {
            var r = "boolean" == typeof e;
            return K.isFunction(e) && K.isFunction(t) ? mt.apply(this, arguments) : this.each(function() {
                (r ? e : m(this)) ? K(this).show(): K(this).hide()
            })
        }
    }), K.extend({
        cssHooks: {
            opacity: {
                get: function(e, t) {
                    if (t) {
                        var r = tt(e, "opacity");
                        return "" === r ? "1" : r
                    }
                }
            }
        },
        cssNumber: {
            fillOpacity: !0,
            fontWeight: !0,
            lineHeight: !0,
            opacity: !0,
            orphans: !0,
            widows: !0,
            zIndex: !0,
            zoom: !0
        },
        cssProps: {
            "float": K.support.cssFloat ? "cssFloat" : "styleFloat"
        },
        style: function(e, r, n, o) {
            if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) {
                var i, a, s, u = K.camelCase(r),
                    c = e.style;
                if (r = K.cssProps[u] || (K.cssProps[u] = g(c, u)), s = K.cssHooks[r] || K.cssHooks[u], n === t) return s && "get" in s && (i = s.get(e, !1, o)) !== t ? i : c[r];
                if ("string" == (a = typeof n) && (i = ft.exec(n)) && (n = (i[1] + 1) * i[2] + parseFloat(K.css(e, r)), a = "number"), !(null == n || "number" === a && isNaN(n) || ("number" === a && !K.cssNumber[u] && (n += "px"), s && "set" in s && (n = s.set(e, n, o)) === t))) try {
                    c[r] = n
                } catch (X) {}
            }
        },
        css: function(e, r, n, o) {
            var i, a, s, u = K.camelCase(r);
            return r = K.cssProps[u] || (K.cssProps[u] = g(e.style, u)), (s = K.cssHooks[r] || K.cssHooks[u]) && "get" in s && (i = s.get(e, !0, o)), i === t && (i = tt(e, r)), "normal" === i && r in dt && (i = dt[r]), n || o !== t ? (a = parseFloat(i), n || K.isNumeric(a) ? a || 0 : i) : i
        },
        swap: function(e, t, r) {
            var n, o, i = {};
            for (o in t) i[o] = e.style[o], e.style[o] = t[o];
            n = r.call(e);
            for (o in t) e.style[o] = i[o];
            return n
        }
    }), e.getComputedStyle ? tt = function(t, r) {
        var n, o, i, a, s = e.getComputedStyle(t, null),
            u = t.style;
        return s && ("" === (n = s.getPropertyValue(r) || s[r]) && !K.contains(t.ownerDocument, t) && (n = K.style(t, r)), lt.test(n) && ut.test(r) && (o = u.width, i = u.minWidth, a = u.maxWidth, u.minWidth = u.maxWidth = u.width = n, n = s.width, u.width = o, u.minWidth = i, u.maxWidth = a)), n
    } : $.documentElement.currentStyle && (tt = function(e, t) {
        var r, n, o = e.currentStyle && e.currentStyle[t],
            i = e.style;
        return null == o && i && i[t] && (o = i[t]), lt.test(o) && !at.test(t) && (r = i.left, (n = e.runtimeStyle && e.runtimeStyle.left) && (e.runtimeStyle.left = e.currentStyle.left), i.left = "fontSize" === t ? "1em" : o, o = i.pixelLeft + "px", i.left = r, n && (e.runtimeStyle.left = n)), "" === o ? "auto" : o
    }), K.each(["height", "width"], function(e, t) {
        K.cssHooks[t] = {
            get: function(e, r, n) {
                if (r) return 0 === e.offsetWidth && st.test(tt(e, "display")) ? K.swap(e, ht, function() {
                    return x(e, t, n)
                }) : x(e, t, n)
            },
            set: function(e, r, n) {
                return b(0, r, n ? w(e, t, n, K.support.boxSizing && "border-box" === K.css(e, "boxSizing")) : 0)
            }
        }
    }), K.support.opacity || (K.cssHooks.opacity = {
        get: function(e, t) {
            return it.test((t && e.currentStyle ? e.currentStyle.filter : e.style.filter) || "") ? .01 * parseFloat(RegExp.$1) + "" : t ? "1" : ""
        },
        set: function(e, t) {
            var r = e.style,
                n = e.currentStyle,
                o = K.isNumeric(t) ? "alpha(opacity=" + 100 * t + ")" : "",
                i = n && n.filter || r.filter || "";
            r.zoom = 1, t >= 1 && "" === K.trim(i.replace(ot, "")) && r.removeAttribute && (r.removeAttribute("filter"), n && !n.filter) || (r.filter = ot.test(i) ? i.replace(ot, o) : i + " " + o)
        }
    }), K(function() {
        K.support.reliableMarginRight || (K.cssHooks.marginRight = {
            get: function(e, t) {
                return K.swap(e, {
                    display: "inline-block"
                }, function() {
                    if (t) return tt(e, "marginRight")
                })
            }
        }), !K.support.pixelPosition && K.fn.position && K.each(["top", "left"], function(e, t) {
            K.cssHooks[t] = {
                get: function(e, r) {
                    if (r) {
                        var n = tt(e, t);
                        return lt.test(n) ? K(e).position()[t] + "px" : n
                    }
                }
            }
        })
    }), K.expr && K.expr.filters && (K.expr.filters.hidden = function(e) {
        return 0 === e.offsetWidth && 0 === e.offsetHeight || !K.support.reliableHiddenOffsets && "none" === (e.style && e.style.display || tt(e, "display"))
    }, K.expr.filters.visible = function(e) {
        return !K.expr.filters.hidden(e)
    }), K.each({
        margin: "",
        padding: "",
        border: "Width"
    }, function(e, t) {
        K.cssHooks[e + t] = {
            expand: function(r) {
                var n, o = "string" == typeof r ? r.split(" ") : [r],
                    i = {};
                for (n = 0; n < 4; n++) i[e + yt[n] + t] = o[n] || o[n - 2] || o[0];
                return i
            }
        }, ut.test(e) || (K.cssHooks[e + t].set = b)
    });
    var vt = /%20/g,
        bt = /\[\]$/,
        wt = /\r?\n/g,
        xt = /^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,
        Et = /^(?:select|textarea)/i;
    K.fn.extend({
        serialize: function() {
            return K.param(this.serializeArray())
        },
        serializeArray: function() {
            return this.map(function() {
                return this.elements ? K.makeArray(this.elements) : this
            }).filter(function() {
                return this.name && !this.disabled && (this.checked || Et.test(this.nodeName) || xt.test(this.type))
            }).map(function(e, t) {
                var r = K(this).val();
                return null == r ? null : K.isArray(r) ? K.map(r, function(e, r) {
                    return {
                        name: t.name,
                        value: e.replace(wt, "\r\n")
                    }
                }) : {
                    name: t.name,
                    value: r.replace(wt, "\r\n")
                }
            }).get()
        }
    }), K.param = function(e, r) {
        var n, o = [],
            i = function(e, t) {
                t = K.isFunction(t) ? t() : null == t ? "" : t, o[o.length] = encodeURIComponent(e) + "=" + encodeURIComponent(t)
            };
        if (r === t && (r = K.ajaxSettings && K.ajaxSettings.traditional), K.isArray(e) || e.jquery && !K.isPlainObject(e)) K.each(e, function() {
            i(this.name, this.value)
        });
        else
            for (n in e) T(n, e[n], r, i);
        return o.join("&").replace(vt, "+")
    };
    var Tt, St, _t = /#.*$/,
        jt = /^(.*?):[ \t]*([^\r\n]*)\r?$/gm,
        At = /^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,
        Nt = /^(?:GET|HEAD)$/,
        kt = /^\/\//,
        Ot = /\?/,
        Ct = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
        Dt = /([?&])_=[^&]*/,
        Mt = /^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,
        Lt = K.fn.load,
        Pt = {},
        Rt = {},
        It = ["*/"] + ["*"];
    try {
        St = q.href
    } catch (Zt) {
        (St = $.createElement("a")).href = "", St = St.href
    }
    Tt = Mt.exec(St.toLowerCase()) || [], K.fn.load = function(e, r, n) {
        if ("string" != typeof e && Lt) return Lt.apply(this, arguments);
        if (!this.length) return this;
        var o, i, a, s = this,
            u = e.indexOf(" ");
        return u >= 0 && (o = e.slice(u, e.length), e = e.slice(0, u)), K.isFunction(r) ? (n = r, r = t) : r && "object" == typeof r && (i = "POST"), K.ajax({
            url: e,
            type: i,
            dataType: "html",
            data: r,
            complete: function(e, t) {
                n && s.each(n, a || [e.responseText, t, e])
            }
        }).done(function(e) {
            a = arguments, s.html(o ? K("<div>").append(e.replace(Ct, "")).find(o) : e)
        }), this
    }, K.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), function(e, t) {
        K.fn[t] = function(e) {
            return this.on(t, e)
        }
    }), K.each(["get", "post"], function(e, r) {
        K[r] = function(e, n, o, i) {
            return K.isFunction(n) && (i = i || o, o = n, n = t), K.ajax({
                type: r,
                url: e,
                data: n,
                success: o,
                dataType: i
            })
        }
    }), K.extend({
        getScript: function(e, r) {
            return K.get(e, t, r, "script")
        },
        getJSON: function(e, t, r) {
            return K.get(e, t, r, "json")
        },
        ajaxSetup: function(e, t) {
            return t ? j(e, K.ajaxSettings) : (t = e, e = K.ajaxSettings), j(e, t), e
        },
        ajaxSettings: {
            url: St,
            isLocal: At.test(Tt[1]),
            global: !0,
            type: "GET",
            contentType: "application/x-www-form-urlencoded; charset=UTF-8",
            processData: !0,
            async: !0,
            accepts: {
                xml: "application/xml, text/xml",
                html: "text/html",
                text: "text/plain",
                json: "application/json, text/javascript",
                "*": It
            },
            contents: {
                xml: /xml/,
                html: /html/,
                json: /json/
            },
            responseFields: {
                xml: "responseXML",
                text: "responseText"
            },
            converters: {
                "* text": e.String,
                "text html": !0,
                "text json": K.parseJSON,
                "text xml": K.parseXML
            },
            flatOptions: {
                context: !0,
                url: !0
            }
        },
        ajaxPrefilter: S(Pt),
        ajaxTransport: S(Rt),
        ajax: function(e, r) {
            function n(e, r, n, a) {
                var c, f, v, b, x, T = r;
                2 !== w && (w = 2, u && clearTimeout(u), s = t, i = a || "", E.readyState = e > 0 ? 4 : 0, n && (b = A(p, E, n)), e >= 200 && e < 300 || 304 === e ? (p.ifModified && ((x = E.getResponseHeader("Last-Modified")) && (K.lastModified[o] = x), (x = E.getResponseHeader("Etag")) && (K.etag[o] = x)), 304 === e ? (T = "notmodified", c = !0) : (c = N(p, b), T = c.state, f = c.data, v = c.error, c = !v)) : (v = T, T && !e || (T = "error", e < 0 && (e = 0))), E.status = e, E.statusText = (r || T) + "", c ? y.resolveWith(h, [f, T, E]) : y.rejectWith(h, [E, T, v]), E.statusCode(m), m = t, l && d.trigger("ajax" + (c ? "Success" : "Error"), [E, p, c ? f : v]), g.fireWith(h, [E, T]), l && (d.trigger("ajaxComplete", [E, p]), --K.active || K.event.trigger("ajaxStop")))
            }
            "object" == typeof e && (r = e, e = t), r = r || {};
            var o, i, a, s, u, c, l, f, p = K.ajaxSetup({}, r),
                h = p.context || p,
                d = h !== p && (h.nodeType || h instanceof K) ? K(h) : K.event,
                y = K.Deferred(),
                g = K.Callbacks("once memory"),
                m = p.statusCode || {},
                v = {},
                b = {},
                w = 0,
                x = "canceled",
                E = {
                    readyState: 0,
                    setRequestHeader: function(e, t) {
                        if (!w) {
                            var r = e.toLowerCase();
                            e = b[r] = b[r] || e, v[e] = t
                        }
                        return this
                    },
                    getAllResponseHeaders: function() {
                        return 2 === w ? i : null
                    },
                    getResponseHeader: function(e) {
                        var r;
                        if (2 === w) {
                            if (!a)
                                for (a = {}; r = jt.exec(i);) a[r[1].toLowerCase()] = r[2];
                            r = a[e.toLowerCase()]
                        }
                        return r === t ? null : r
                    },
                    overrideMimeType: function(e) {
                        return w || (p.mimeType = e), this
                    },
                    abort: function(e) {
                        return e = e || x, s && s.abort(e), n(0, e), this
                    }
                };
            if (y.promise(E), E.success = E.done, E.error = E.fail, E.complete = g.add, E.statusCode = function(e) {
                    if (e) {
                        var t;
                        if (w < 2)
                            for (t in e) m[t] = [m[t], e[t]];
                        else t = e[E.status], E.always(t)
                    }
                    return this
                }, p.url = ((e || p.url) + "").replace(_t, "").replace(kt, Tt[1] + "//"), p.dataTypes = K.trim(p.dataType || "*").toLowerCase().split(ee), null == p.crossDomain && (c = Mt.exec(p.url.toLowerCase()), p.crossDomain = !(!c || c[1] === Tt[1] && c[2] === Tt[2] && (c[3] || ("http:" === c[1] ? 80 : 443)) == (Tt[3] || ("http:" === Tt[1] ? 80 : 443)))), p.data && p.processData && "string" != typeof p.data && (p.data = K.param(p.data, p.traditional)), _(Pt, p, r, E), 2 === w) return E;
            if (l = p.global, p.type = p.type.toUpperCase(), p.hasContent = !Nt.test(p.type), l && 0 == K.active++ && K.event.trigger("ajaxStart"), !p.hasContent && (p.data && (p.url += (Ot.test(p.url) ? "&" : "?") + p.data, delete p.data), o = p.url, !1 === p.cache)) {
                var T = K.now(),
                    S = p.url.replace(Dt, "$1_=" + T);
                p.url = S + (S === p.url ? (Ot.test(p.url) ? "&" : "?") + "_=" + T : "")
            }(p.data && p.hasContent && !1 !== p.contentType || r.contentType) && E.setRequestHeader("Content-Type", p.contentType), p.ifModified && (o = o || p.url, K.lastModified[o] && E.setRequestHeader("If-Modified-Since", K.lastModified[o]), K.etag[o] && E.setRequestHeader("If-None-Match", K.etag[o])), E.setRequestHeader("Accept", p.dataTypes[0] && p.accepts[p.dataTypes[0]] ? p.accepts[p.dataTypes[0]] + ("*" !== p.dataTypes[0] ? ", " + It + "; q=0.01" : "") : p.accepts["*"]);
            for (f in p.headers) E.setRequestHeader(f, p.headers[f]);
            if (!p.beforeSend || !1 !== p.beforeSend.call(h, E, p) && 2 !== w) {
                x = "abort";
                for (f in {
                        success: 1,
                        error: 1,
                        complete: 1
                    }) E[f](p[f]);
                if (s = _(Rt, p, r, E)) {
                    E.readyState = 1, l && d.trigger("ajaxSend", [E, p]), p.async && p.timeout > 0 && (u = setTimeout(function() {
                        E.abort("timeout")
                    }, p.timeout));
                    try {
                        w = 1, s.send(v, n)
                    } catch (ce) {
                        if (!(w < 2)) throw ce;
                        n(-1, ce)
                    }
                } else n(-1, "No Transport");
                return E
            }
            return E.abort()
        },
        active: 0,
        lastModified: {},
        etag: {}
    });
    var Ft = [],
        Ht = /\?/,
        $t = /(=)\?(?=&|$)|\?\?/,
        qt = K.now();
    K.ajaxSetup({
        jsonp: "callback",
        jsonpCallback: function() {
            var e = Ft.pop() || K.expando + "_" + qt++;
            return this[e] = !0, e
        }
    }), K.ajaxPrefilter("json jsonp", function(r, n, o) {
        var i, a, s, u = r.data,
            c = r.url,
            l = !1 !== r.jsonp,
            f = l && $t.test(c),
            p = l && !f && "string" == typeof u && !(r.contentType || "").indexOf("application/x-www-form-urlencoded") && $t.test(u);
        if ("jsonp" === r.dataTypes[0] || f || p) return i = r.jsonpCallback = K.isFunction(r.jsonpCallback) ? r.jsonpCallback() : r.jsonpCallback, a = e[i], f ? r.url = c.replace($t, "$1" + i) : p ? r.data = u.replace($t, "$1" + i) : l && (r.url += (Ht.test(c) ? "&" : "?") + r.jsonp + "=" + i), r.converters["script json"] = function() {
            return s || K.error(i + " was not called"), s[0]
        }, r.dataTypes[0] = "json", e[i] = function() {
            s = arguments
        }, o.always(function() {
            e[i] = a, r[i] && (r.jsonpCallback = n.jsonpCallback, Ft.push(i)), s && K.isFunction(a) && a(s[0]), s = a = t
        }), "script"
    }), K.ajaxSetup({
        accepts: {
            script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
        },
        contents: {
            script: /javascript|ecmascript/
        },
        converters: {
            "text script": function(e) {
                return K.globalEval(e), e
            }
        }
    }), K.ajaxPrefilter("script", function(e) {
        e.cache === t && (e.cache = !1), e.crossDomain && (e.type = "GET", e.global = !1)
    }), K.ajaxTransport("script", function(e) {
        if (e.crossDomain) {
            var r, n = $.head || $.getElementsByTagName("head")[0] || $.documentElement;
            return {
                send: function(o, i) {
                    (r = $.createElement("script")).async = "async", e.scriptCharset && (r.charset = e.scriptCharset), r.src = e.url, r.onload = r.onreadystatechange = function(e, o) {
                        (o || !r.readyState || /loaded|complete/.test(r.readyState)) && (r.onload = r.onreadystatechange = null, n && r.parentNode && n.removeChild(r), r = t, o || i(200, "success"))
                    }, n.insertBefore(r, n.firstChild)
                },
                abort: function() {
                    r && r.onload(0, 1)
                }
            }
        }
    });
    var Bt, Wt = !!e.ActiveXObject && function() {
            for (var e in Bt) Bt[e](0, 1)
        },
        Ut = 0;
    K.ajaxSettings.xhr = e.ActiveXObject ? function() {
            return !this.isLocal && k() || O()
        } : k,
        function(e) {
            K.extend(K.support, {
                ajax: !!e,
                cors: !!e && "withCredentials" in e
            })
        }(K.ajaxSettings.xhr()), K.support.ajax && K.ajaxTransport(function(r) {
            if (!r.crossDomain || K.support.cors) {
                var n;
                return {
                    send: function(o, i) {
                        var a, s, u = r.xhr();
                        if (r.username ? u.open(r.type, r.url, r.async, r.username, r.password) : u.open(r.type, r.url, r.async), r.xhrFields)
                            for (s in r.xhrFields) u[s] = r.xhrFields[s];
                        r.mimeType && u.overrideMimeType && u.overrideMimeType(r.mimeType), !r.crossDomain && !o["X-Requested-With"] && (o["X-Requested-With"] = "XMLHttpRequest");
                        try {
                            for (s in o) u.setRequestHeader(s, o[s])
                        } catch (z) {}
                        u.send(r.hasContent && r.data || null), n = function(e, o) {
                            var s, c, l, f, p;
                            try {
                                if (n && (o || 4 === u.readyState))
                                    if (n = t, a && (u.onreadystatechange = K.noop, Wt && delete Bt[a]), o) 4 !== u.readyState && u.abort();
                                    else {
                                        s = u.status, l = u.getAllResponseHeaders(), f = {}, (p = u.responseXML) && p.documentElement && (f.xml = p);
                                        try {
                                            f.text = u.responseText
                                        } catch (Y) {}
                                        try {
                                            c = u.statusText
                                        } catch (Y) {
                                            c = ""
                                        }
                                        s || !r.isLocal || r.crossDomain ? 1223 === s && (s = 204) : s = f.text ? 200 : 404
                                    }
                            } catch (J) {
                                o || i(-1, J)
                            }
                            f && i(s, c, f, l)
                        }, r.async ? 4 === u.readyState ? setTimeout(n, 0) : (a = ++Ut, Wt && (Bt || (Bt = {}, K(e).unload(Wt)), Bt[a] = n), u.onreadystatechange = n) : n()
                    },
                    abort: function() {
                        n && n(0, 1)
                    }
                }
            }
        });
    var zt, Xt, Vt = /^(?:toggle|show|hide)$/,
        Gt = new RegExp("^(?:([-+])=|)(" + Q + ")([a-z%]*)$", "i"),
        Yt = /queueHooks$/,
        Jt = [function(e, t, r) {
            var n, o, i, a, s, u, c, l, f, p = this,
                h = e.style,
                d = {},
                y = [],
                g = e.nodeType && m(e);
            r.queue || (null == (l = K._queueHooks(e, "fx")).unqueued && (l.unqueued = 0, f = l.empty.fire, l.empty.fire = function() {
                l.unqueued || f()
            }), l.unqueued++, p.always(function() {
                p.always(function() {
                    l.unqueued--, K.queue(e, "fx").length || l.empty.fire()
                })
            })), 1 === e.nodeType && ("height" in t || "width" in t) && (r.overflow = [h.overflow, h.overflowX, h.overflowY], "inline" === K.css(e, "display") && "none" === K.css(e, "float") && (K.support.inlineBlockNeedsLayout && "inline" !== E(e.nodeName) ? h.zoom = 1 : h.display = "inline-block")), r.overflow && (h.overflow = "hidden", K.support.shrinkWrapBlocks || p.done(function() {
                h.overflow = r.overflow[0], h.overflowX = r.overflow[1], h.overflowY = r.overflow[2]
            }));
            for (n in t)
                if (i = t[n], Vt.exec(i)) {
                    if (delete t[n], u = u || "toggle" === i, i === (g ? "hide" : "show")) continue;
                    y.push(n)
                }
            if (a = y.length) {
                "hidden" in (s = K._data(e, "fxshow") || K._data(e, "fxshow", {})) && (g = s.hidden), u && (s.hidden = !g), g ? K(e).show() : p.done(function() {
                    K(e).hide()
                }), p.done(function() {
                    var t;
                    K.removeData(e, "fxshow", !0);
                    for (t in d) K.style(e, t, d[t])
                });
                for (n = 0; n < a; n++) o = y[n], c = p.createTween(o, g ? s[o] : 0), d[o] = s[o] || K.style(e, o), o in s || (s[o] = c.start, g && (c.end = c.start, c.start = "width" === o || "height" === o ? 1 : 0))
            }
        }],
        Kt = {
            "*": [function(e, t) {
                var r, n, o = this.createTween(e, t),
                    i = Gt.exec(t),
                    a = o.cur(),
                    s = +a || 0,
                    u = 1,
                    c = 20;
                if (i) {
                    if (r = +i[2], "px" !== (n = i[3] || (K.cssNumber[e] ? "" : "px")) && s) {
                        s = K.css(o.elem, e, !0) || r || 1;
                        do {
                            u = u || ".5", s /= u, K.style(o.elem, e, s + n)
                        } while (u !== (u = o.cur() / a) && 1 !== u && --c)
                    }
                    o.unit = n, o.start = s, o.end = i[1] ? s + (i[1] + 1) * r : r
                }
                return o
            }]
        };
    K.Animation = K.extend(M, {
        tweener: function(e, t) {
            K.isFunction(e) ? (t = e, e = ["*"]) : e = e.split(" ");
            for (var r, n = 0, o = e.length; n < o; n++) r = e[n], Kt[r] = Kt[r] || [], Kt[r].unshift(t)
        },
        prefilter: function(e, t) {
            t ? Jt.unshift(e) : Jt.push(e)
        }
    }), K.Tween = P, P.prototype = {
        constructor: P,
        init: function(e, t, r, n, o, i) {
            this.elem = e, this.prop = r, this.easing = o || "swing", this.options = t, this.start = this.now = this.cur(), this.end = n, this.unit = i || (K.cssNumber[r] ? "" : "px")
        },
        cur: function() {
            var e = P.propHooks[this.prop];
            return e && e.get ? e.get(this) : P.propHooks._default.get(this)
        },
        run: function(e) {
            var t, r = P.propHooks[this.prop];
            return this.options.duration ? this.pos = t = K.easing[this.easing](e, this.options.duration * e, 0, 1, this.options.duration) : this.pos = t = e, this.now = (this.end - this.start) * t + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), r && r.set ? r.set(this) : P.propHooks._default.set(this), this
        }
    }, P.prototype.init.prototype = P.prototype, P.propHooks = {
        _default: {
            get: function(e) {
                var t;
                return null == e.elem[e.prop] || e.elem.style && null != e.elem.style[e.prop] ? (t = K.css(e.elem, e.prop, !1, "")) && "auto" !== t ? t : 0 : e.elem[e.prop]
            },
            set: function(e) {
                K.fx.step[e.prop] ? K.fx.step[e.prop](e) : e.elem.style && (null != e.elem.style[K.cssProps[e.prop]] || K.cssHooks[e.prop]) ? K.style(e.elem, e.prop, e.now + e.unit) : e.elem[e.prop] = e.now
            }
        }
    }, P.propHooks.scrollTop = P.propHooks.scrollLeft = {
        set: function(e) {
            e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now)
        }
    }, K.each(["toggle", "show", "hide"], function(e, t) {
        var r = K.fn[t];
        K.fn[t] = function(n, o, i) {
            return null == n || "boolean" == typeof n || !e && K.isFunction(n) && K.isFunction(o) ? r.apply(this, arguments) : this.animate(R(t, !0), n, o, i)
        }
    }), K.fn.extend({
        fadeTo: function(e, t, r, n) {
            return this.filter(m).css("opacity", 0).show().end().animate({
                opacity: t
            }, e, r, n)
        },
        animate: function(e, t, r, n) {
            var o = K.isEmptyObject(e),
                i = K.speed(t, r, n),
                a = function() {
                    var t = M(this, K.extend({}, e), i);
                    o && t.stop(!0)
                };
            return o || !1 === i.queue ? this.each(a) : this.queue(i.queue, a)
        },
        stop: function(e, r, n) {
            var o = function(e) {
                var t = e.stop;
                delete e.stop, t(n)
            };
            return "string" != typeof e && (n = r, r = e, e = t), r && !1 !== e && this.queue(e || "fx", []), this.each(function() {
                var t = !0,
                    r = null != e && e + "queueHooks",
                    i = K.timers,
                    a = K._data(this);
                if (r) a[r] && a[r].stop && o(a[r]);
                else
                    for (r in a) a[r] && a[r].stop && Yt.test(r) && o(a[r]);
                for (r = i.length; r--;) i[r].elem === this && (null == e || i[r].queue === e) && (i[r].anim.stop(n), t = !1, i.splice(r, 1));
                (t || !n) && K.dequeue(this, e)
            })
        }
    }), K.each({
        slideDown: R("show"),
        slideUp: R("hide"),
        slideToggle: R("toggle"),
        fadeIn: {
            opacity: "show"
        },
        fadeOut: {
            opacity: "hide"
        },
        fadeToggle: {
            opacity: "toggle"
        }
    }, function(e, t) {
        K.fn[e] = function(e, r, n) {
            return this.animate(t, e, r, n)
        }
    }), K.speed = function(e, t, r) {
        var n = e && "object" == typeof e ? K.extend({}, e) : {
            complete: r || !r && t || K.isFunction(e) && e,
            duration: e,
            easing: r && t || t && !K.isFunction(t) && t
        };
        return n.duration = K.fx.off ? 0 : "number" == typeof n.duration ? n.duration : n.duration in K.fx.speeds ? K.fx.speeds[n.duration] : K.fx.speeds._default, null != n.queue && !0 !== n.queue || (n.queue = "fx"), n.old = n.complete, n.complete = function() {
            K.isFunction(n.old) && n.old.call(this), n.queue && K.dequeue(this, n.queue)
        }, n
    }, K.easing = {
        linear: function(e) {
            return e
        },
        swing: function(e) {
            return .5 - Math.cos(e * Math.PI) / 2
        }
    }, K.timers = [], K.fx = P.prototype.init, K.fx.tick = function() {
        var e, r = K.timers,
            n = 0;
        for (zt = K.now(); n < r.length; n++) !(e = r[n])() && r[n] === e && r.splice(n--, 1);
        r.length || K.fx.stop(), zt = t
    }, K.fx.timer = function(e) {
        e() && K.timers.push(e) && !Xt && (Xt = setInterval(K.fx.tick, K.fx.interval))
    }, K.fx.interval = 13, K.fx.stop = function() {
        clearInterval(Xt), Xt = null
    }, K.fx.speeds = {
        slow: 600,
        fast: 200,
        _default: 400
    }, K.fx.step = {}, K.expr && K.expr.filters && (K.expr.filters.animated = function(e) {
        return K.grep(K.timers, function(t) {
            return e === t.elem
        }).length
    });
    var Qt = /^(?:body|html)$/i;
    K.fn.offset = function(e) {
        if (arguments.length) return e === t ? this : this.each(function(t) {
            K.offset.setOffset(this, e, t)
        });
        var r, n, o, i, a, s, u, c = {
                top: 0,
                left: 0
            },
            l = this[0],
            f = l && l.ownerDocument;
        if (f) return (n = f.body) === l ? K.offset.bodyOffset(l) : (r = f.documentElement, K.contains(r, l) ? ("undefined" != typeof l.getBoundingClientRect && (c = l.getBoundingClientRect()), o = I(f), i = r.clientTop || n.clientTop || 0, a = r.clientLeft || n.clientLeft || 0, s = o.pageYOffset || r.scrollTop, u = o.pageXOffset || r.scrollLeft, {
            top: c.top + s - i,
            left: c.left + u - a
        }) : c)
    }, K.offset = {
        bodyOffset: function(e) {
            var t = e.offsetTop,
                r = e.offsetLeft;
            return K.support.doesNotIncludeMarginInBodyOffset && (t += parseFloat(K.css(e, "marginTop")) || 0, r += parseFloat(K.css(e, "marginLeft")) || 0), {
                top: t,
                left: r
            }
        },
        setOffset: function(e, t, r) {
            var n = K.css(e, "position");
            "static" === n && (e.style.position = "relative");
            var o, i, a = K(e),
                s = a.offset(),
                u = K.css(e, "top"),
                c = K.css(e, "left"),
                l = {},
                f = {};
            ("absolute" === n || "fixed" === n) && K.inArray("auto", [u, c]) > -1 ? (f = a.position(), o = f.top, i = f.left) : (o = parseFloat(u) || 0, i = parseFloat(c) || 0), K.isFunction(t) && (t = t.call(e, r, s)), null != t.top && (l.top = t.top - s.top + o), null != t.left && (l.left = t.left - s.left + i), "using" in t ? t.using.call(e, l) : a.css(l)
        }
    }, K.fn.extend({
        position: function() {
            if (this[0]) {
                var e = this[0],
                    t = this.offsetParent(),
                    r = this.offset(),
                    n = Qt.test(t[0].nodeName) ? {
                        top: 0,
                        left: 0
                    } : t.offset();
                return r.top -= parseFloat(K.css(e, "marginTop")) || 0, r.left -= parseFloat(K.css(e, "marginLeft")) || 0, n.top += parseFloat(K.css(t[0], "borderTopWidth")) || 0, n.left += parseFloat(K.css(t[0], "borderLeftWidth")) || 0, {
                    top: r.top - n.top,
                    left: r.left - n.left
                }
            }
        },
        offsetParent: function() {
            return this.map(function() {
                for (var e = this.offsetParent || $.body; e && !Qt.test(e.nodeName) && "static" === K.css(e, "position");) e = e.offsetParent;
                return e || $.body
            })
        }
    }), K.each({
        scrollLeft: "pageXOffset",
        scrollTop: "pageYOffset"
    }, function(e, r) {
        var n = /Y/.test(r);
        K.fn[e] = function(o) {
            return K.access(this, function(e, o, i) {
                var a = I(e);
                if (i === t) return a ? r in a ? a[r] : a.document.documentElement[o] : e[o];
                a ? a.scrollTo(n ? K(a).scrollLeft() : i, n ? i : K(a).scrollTop()) : e[o] = i
            }, e, o, arguments.length, null)
        }
    }), K.each({
        Height: "height",
        Width: "width"
    }, function(e, r) {
        K.each({
            padding: "inner" + e,
            content: r,
            "": "outer" + e
        }, function(n, o) {
            K.fn[o] = function(o, i) {
                var a = arguments.length && (n || "boolean" != typeof o),
                    s = n || (!0 === o || !0 === i ? "margin" : "border");
                return K.access(this, function(r, n, o) {
                    var i;
                    return K.isWindow(r) ? r.document.documentElement["client" + e] : 9 === r.nodeType ? (i = r.documentElement, Math.max(r.body["scroll" + e], i["scroll" + e], r.body["offset" + e], i["offset" + e], i["client" + e])) : o === t ? K.css(r, n, o, s) : K.style(r, n, o, s)
                }, r, a ? o : t, a, null)
            }
        })
    }), e.jQuery = e.$ = K, "function" == typeof define && define.amd && define.amd.jQuery && define("jquery", [], function() {
        return K
    })
}(window),
function() {
    function e(t) {
        var n = r[t];
        return "object" == typeof n ? n : (n.exports || (n.exports = {}, n.exports = n.call(n.exports, e, n.exports, n) || n.exports), n.exports)
    }

    function t(e, t) {
        r[e] = t
    }
    var r = {};
    t("jquery", function() {
        return jQuery
    }), t("popup", function(e) {
        function t() {
            this.destroyed = !1, this.__popup = r("<div />").css({
                display: "none",
                position: "absolute",
                outline: 0
            }).attr("tabindex", "-1").html(this.innerHTML).appendTo("body"), this.__backdrop = this.__mask = r("<div />").css({
                opacity: .7,
                background: "#000"
            }), this._backdropIframe = r('<iframe style="position:absolute;filter:alpha(opacity=0); opacity:0; top:0;left:0;z-index:200;width:100%; height:100%" scrolling="no" frameborder="0"></iframe>'), this.node = this.__popup[0], this.backdrop = this.__backdrop[0], n++
        }
        var r = e("jquery"),
            n = 0,
            o = !("minWidth" in r("html")[0].style),
            i = !o;
        return r.extend(t.prototype, {
            node: null,
            backdrop: null,
            fixed: !1,
            destroyed: !0,
            open: !1,
            returnValue: "",
            autofocus: !0,
            align: "bottom left",
            innerHTML: "",
            className: "ui-popup",
            show: function(e) {
                if (this.destroyed) return this;
                var n = this.__popup,
                    a = this.__backdrop;
                if (this.__activeElement = this.__getActive(), this.open = !0, this.follow = e || this.follow, !this.__ready) {
                    if (n.addClass(this.className).attr("role", this.modal ? "alertdialog" : "dialog").css("position", this.fixed ? "fixed" : "absolute"), o || r(window).on("resize", r.proxy(this.reset, this)), this.modal) {
                        var s = {
                            position: "fixed",
                            left: 0,
                            top: 0,
                            width: "100%",
                            height: "100%",
                            overflow: "hidden",
                            userSelect: "none",
                            zIndex: this.zIndex || t.zIndex
                        };
                        n.addClass(this.className + "-modal"), i || r.extend(s, {
                            position: "absolute",
                            width: r(window).width() + "px",
                            height: r(document).height() + "px"
                        }), a.css(s).attr({
                            tabindex: "0"
                        }).on("focus", r.proxy(this.focus, this)), this.__mask = a.clone(!0).attr("style", "").insertAfter(n), a.addClass(this.className + "-backdrop").insertBefore(n), this._backdropIframe.insertBefore(a), this.__ready = !0
                    }
                    n.html() || n.html(this.innerHTML)
                }
                return n.addClass(this.className + "-show").show(), a.show(), this.reset().focus(), this.__dispatchEvent("show"), this
            },
            showModal: function() {
                return this.modal = !0, this.show.apply(this, arguments)
            },
            close: function(e) {
                return !this.destroyed && this.open && (e !== undefined && (this.returnValue = e), this.__popup.hide().removeClass(this.className + "-show"), this.__backdrop.hide(), this._backdropIframe.hide(), this.open = !1, this.blur(), this.__dispatchEvent("close")), this
            },
            remove: function() {
                if (this.destroyed) return this;
                this.__dispatchEvent("beforeremove"), t.current === this && (t.current = null), this.__popup.remove(), this.__backdrop.remove(), this._backdropIframe.remove(), this.__mask.remove(), o || r(window).off("resize", this.reset), this.__dispatchEvent("remove");
                for (var e in this) delete this[e];
                return this
            },
            reset: function() {
                var e = this.follow;
                return e ? this.__follow(e) : this.__center(), this.__dispatchEvent("reset"), this
            },
            focus: function() {
                var e = this.node,
                    n = this.__popup,
                    o = t.current,
                    i = this.zIndex = t.zIndex++;
                if (o && o !== this && o.blur(!1), !r.contains(e, this.__getActive())) {
                    var a = n.find("[autofocus]")[0];
                    !this._autofocus && a ? this._autofocus = !0 : a = e, this.__focus(a)
                }
                return n.css("zIndex", i), t.current = this, n.addClass(this.className + "-focus"), this.__dispatchEvent("focus"), this
            },
            blur: function() {
                var e = this.__activeElement;
                return !1 !== arguments[0] && this.__focus(e), this._autofocus = !1, this.__popup.removeClass(this.className + "-focus"), this.__dispatchEvent("blur"), this
            },
            addEventListener: function(e, t) {
                return this.__getEventListener(e).push(t), this
            },
            removeEventListener: function(e, t) {
                for (var r = this.__getEventListener(e), n = 0; n < r.length; n++) t === r[n] && r.splice(n--, 1);
                return this
            },
            __getEventListener: function(e) {
                var t = this.__listener;
                return t || (t = this.__listener = {}), t[e] || (t[e] = []), t[e]
            },
            __dispatchEvent: function(e) {
                var t = this.__getEventListener(e);
                this["on" + e] && this["on" + e]();
                for (var r = 0; r < t.length; r++) t[r].call(this)
            },
            __focus: function(e) {
                try {
                    this.autofocus && !/^iframe$/i.test(e.nodeName) && e.focus()
                } catch (t) {}
            },
            __getActive: function() {
                try {
                    var e = document.activeElement,
                        t = e.contentDocument;
                    return t && t.activeElement || e
                } catch (r) {}
            },
            __center: function() {
                var e = this.__popup,
                    t = r(window),
                    n = r(document),
                    o = this.fixed,
                    i = o ? 0 : n.scrollLeft(),
                    a = o ? 0 : n.scrollTop(),
                    s = t.width(),
                    u = t.height(),
                    c = (s - e.width()) / 2 + i,
                    l = 382 * (u - e.height()) / 1e3 + a,
                    f = e[0].style;
                f.left = Math.max(parseInt(c), i) + "px", f.top = Math.max(parseInt(l), a) + "px"
            },
            __follow: function(e) {
                var t = e.parentNode && r(e),
                    n = this.__popup;
                if (this.__followSkin && n.removeClass(this.__followSkin), t) {
                    var o = t.offset();
                    if (o.left * o.top < 0) return this.__center()
                }
                var i = this,
                    a = this.fixed,
                    s = r(window),
                    u = r(document),
                    c = s.width(),
                    l = s.height(),
                    f = u.scrollLeft(),
                    p = u.scrollTop(),
                    h = n.width(),
                    d = n.height(),
                    y = t ? t.outerWidth() : 0,
                    g = t ? t.outerHeight() : 0,
                    m = this.__offset(e),
                    v = m.left,
                    b = m.top,
                    w = a ? v - f : v,
                    x = a ? b - p : b,
                    E = a ? 0 : f,
                    T = a ? 0 : p,
                    S = E + c - h,
                    _ = T + l - d,
                    j = {},
                    A = this.align.split(" "),
                    N = this.className + "-",
                    k = {
                        top: "bottom",
                        bottom: "top",
                        left: "right",
                        right: "left"
                    },
                    O = {
                        top: "top",
                        bottom: "top",
                        left: "left",
                        right: "left"
                    },
                    C = [{
                        top: x - d,
                        bottom: x + g,
                        left: w - h,
                        right: w + y
                    }, {
                        top: x,
                        bottom: x - d + g,
                        left: w,
                        right: w - h + y
                    }],
                    D = {
                        left: w + y / 2 - h / 2,
                        top: x + g / 2 - d / 2
                    },
                    M = {
                        left: [E, S],
                        top: [T, _]
                    };
                r.each(A, function(e, t) {
                    C[e][t] > M[O[t]][1] && (t = A[e] = k[t]), C[e][t] < M[O[t]][0] && (A[e] = k[t])
                }), A[1] || (O[A[1]] = "left" === O[A[0]] ? "top" : "left", C[1][A[1]] = D[O[A[1]]]), N += A.join("-") + " " + this.className + "-follow", i.__followSkin = N, t && n.addClass(N), j[O[A[0]]] = parseInt(C[0][A[0]]), j[O[A[1]]] = parseInt(C[1][A[1]]), n.css(j)
            },
            __offset: function(e) {
                var t = e.parentNode,
                    n = t ? r(e).offset() : {
                        left: e.pageX,
                        top: e.pageY
                    },
                    o = (e = t ? e : e.target).ownerDocument,
                    i = o.defaultView || o.parentWindow;
                if (i == window) return n;
                var a = i.frameElement,
                    s = r(o),
                    u = s.scrollLeft(),
                    c = s.scrollTop(),
                    l = r(a).offset(),
                    f = l.left,
                    p = l.top;
                return {
                    left: n.left + f - u,
                    top: n.top + p - c
                }
            }
        }), t.zIndex = 1024, t.current = null, t
    }), t("dialog-config", {
        backdropBackground: "#000",
        backdropOpacity: .7,
        content: '<span class="ui-dialog-loading">Loading..</span>',
        title: "",
        statusbar: "",
        button: null,
        ok: null,
        cancel: null,
        okValue: "ok",
        cancelValue: "cancel",
        cancelDisplay: !0,
        width: "",
        height: "",
        padding: "",
        skin: "",
        quickClose: !1,
        cssUri: "../css/ui-dialog.css",
        innerHTML: '<div i="dialog" class="ui-dialog"><div class="ui-dialog-arrow-a"></div><div class="ui-dialog-arrow-b"></div><table class="ui-dialog-grid"><tr><td i="header" class="ui-dialog-header"><button i="close" class="ui-dialog-close" title="关闭">&#215;</button><div i="title" class="ui-dialog-title"></div></td></tr><tr><td i="body" class="ui-dialog-body"><div i="content" class="ui-dialog-content"></div></td></tr><tr><td i="footer" class="ui-dialog-footer"><div i="statusbar" class="ui-dialog-statusbar"></div><div i="button" class="ui-dialog-button"></div></td></tr></table></div>'
    }), t("dialog", function(e) {
        var t = e("jquery"),
            r = e("popup"),
            n = e("dialog-config"),
            o = n.cssUri;
        if (o) {
            var i = e[e.toUrl ? "toUrl" : "resolve"];
            i && (o = '<link rel="stylesheet" href="' + (o = i(o)) + '" />', t("base")[0] ? t("base").before(o) : t("head").append(o))
        }
        var a = 0,
            s = new Date - 0,
            u = !("minWidth" in t("html")[0].style),
            c = "createTouch" in document && !("onmousemove" in document) || /(iPhone|iPad|iPod)/i.test(navigator.userAgent),
            l = !u && !c,
            f = function(e, r, n) {
                var o = e = e || {};
                "string" != typeof e && 1 !== e.nodeType || (e = {
                    content: e,
                    fixed: !c
                }), (e = t.extend(!0, {}, f.defaults, e)).original = o;
                var i = e.id = e.id || s + a,
                    u = f.get(i);
                return u ? u.focus() : (l || (e.fixed = !1), e.quickClose && (e.modal = !0, e.backdropOpacity = 0), t.isArray(e.button) || (e.button = []), n !== undefined && (e.cancel = n), e.cancel && e.button.push({
                    id: "cancel",
                    value: e.cancelValue,
                    callback: e.cancel,
                    display: e.cancelDisplay
                }), r !== undefined && (e.ok = r), e.ok && e.button.push({
                    id: "ok",
                    value: e.okValue,
                    callback: e.ok,
                    autofocus: !0
                }), f.list[i] = new f.create(e))
            },
            p = function() {};
        p.prototype = r.prototype;
        var h = f.prototype = new p;
        return f.create = function(e) {
            var n = this;
            t.extend(this, new r);
            e.original;
            var o = t(this.node).html(e.innerHTML),
                i = t(this.backdrop);
            return this.options = e, this._popup = o, t.each(e, function(e, t) {
                "function" == typeof n[e] ? n[e](t) : n[e] = t
            }), e.zIndex && (r.zIndex = e.zIndex), o.attr({
                "aria-labelledby": this._$("title").attr("id", "title:" + this.id).attr("id"),
                "aria-describedby": this._$("content").attr("id", "content:" + this.id).attr("id")
            }), this._$("close").css("display", !1 === this.cancel ? "none" : "").on("click", function(e) {
                n._trigger("cancel"), e.preventDefault()
            }), this._$("dialog").addClass(this.skin), this._$("body").css("padding", this.padding), e.quickClose && i.on("onmousedown" in document ? "mousedown" : "click", function() {
                return n._trigger("cancel"), !1
            }), this.addEventListener("show", function() {
                i.css({
                    opacity: 0,
                    background: e.backdropBackground
                }).animate({
                    opacity: e.backdropOpacity
                }, 150)
            }), this._esc = function(e) {
                var t = e.target,
                    o = t.nodeName,
                    i = /^input|textarea$/i,
                    a = r.current === n,
                    s = e.keyCode;
                !a || i.test(o) && "button" !== t.type || 27 === s && n._trigger("cancel")
            }, t(document).on("keydown", this._esc), this.addEventListener("remove", function() {
                t(document).off("keydown", this._esc), delete f.list[this.id]
            }), a++, f.oncreate(this), this
        }, f.create.prototype = h, t.extend(h, {
            content: function(e) {
                var r = this._$("content");
                return "object" == typeof e ? (e = t(e), r.empty("").append(e.show()), this.addEventListener("beforeremove", function() {
                    t("body").append(e.hide())
                })) : r.html(e), this.reset()
            },
            title: function(e) {
                return this._$("title").text(e), this._$("header")[e ? "show" : "hide"](), this
            },
            width: function(e) {
                return this._$("content").css("width", e), this.reset()
            },
            height: function(e) {
                return this._$("content").css("height", e), this.reset()
            },
            button: function(e) {
                e = e || [];
                var r = this,
                    n = "",
                    o = 0;
                return this.callbacks = {}, "string" == typeof e ? (n = e, o++) : t.each(e, function(e, i) {
                    var a = i.id = i.id || i.value,
                        s = "";
                    r.callbacks[a] = i.callback, !1 === i.display ? s = ' style="display:none"' : o++, n += '<button type="button" i-id="' + a + '"' + s + (i.disabled ? " disabled" : "") + (i.autofocus ? ' autofocus class="ui-dialog-autofocus"' : "") + ">" + i.value + "</button>", r._$("button").on("click", "[i-id=" + a + "]", function(e) {
                        t(this).attr("disabled") || r._trigger(a), e.preventDefault()
                    })
                }), this._$("button").html(n), this._$("footer")[o ? "show" : "hide"](), this
            },
            statusbar: function(e) {
                return this._$("statusbar").html(e)[e ? "show" : "hide"](), this
            },
            _$: function(e) {
                return this._popup.find("[i=" + e + "]")
            },
            _trigger: function(e) {
                var t = this.callbacks[e];
                return "function" != typeof t || !1 !== t.call(this) ? this.close().remove() : this
            }
        }), f.oncreate = t.noop, f.getCurrent = function() {
            return r.current
        }, f.get = function(e) {
            return e === undefined ? f.list : f.list[e]
        }, f.list = {}, f.defaults = n, f
    }), window.dialog = e("dialog")
}(),
function() {
    function e(t, r, n) {
        return ("string" == typeof r ? r : r.toString()).replace(t.define || a, function(e, r, o, i) {
            return 0 === r.indexOf("def.") && (r = r.substring(4)), r in n || (":" === o ? (t.defineParams && i.replace(t.defineParams, function(e, t, o) {
                n[r] = {
                    arg: t,
                    text: o
                }
            }), r in n || (n[r] = i)) : new Function("def", "def['" + r + "']=" + i)(n)), ""
        }).replace(t.use || a, function(r, o) {
            t.useParams && (o = o.replace(t.useParams, function(e, t, r, o) {
                if (n[r] && n[r].arg && o) return e = (r + ":" + o).replace(/'|\\/g, "_"), n.__exp = n.__exp || {}, n.__exp[e] = n[r].text.replace(new RegExp("(^|[^\\w$])" + n[r].arg + "([^\\w$])", "g"), "$1" + o + "$2"), t + "def.__exp['" + e + "']"
            }));
            var i = new Function("def", "return " + o)(n);
            return i ? e(t, i, n) : i
        })
    }

    function t(e) {
        return e.replace(/\\('|\\)/g, "$1").replace(/[\r\t\n]/g, " ")
    }
    var r, n = {
        version: "1.0.3",
        templateSettings: {
            evaluate: /\{\{([\s\S]+?(\}?)+)\}\}/g,
            interpolate: /\{\{=([\s\S]+?)\}\}/g,
            encode: /\{\{!([\s\S]+?)\}\}/g,
            use: /\{\{#([\s\S]+?)\}\}/g,
            useParams: /(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,
            define: /\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,
            defineParams: /^\s*([\w$]+):([\s\S]+)/,
            conditional: /\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,
            iterate: /\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,
            varname: "it",
            strip: !0,
            append: !0,
            selfcontained: !1,
            doNotSkipEncoded: !1
        },
        template: void 0,
        compile: void 0
    };
    n.encodeHTMLSource = function(e) {
        var t = {
                "&": "&#38;",
                "<": "&#60;",
                ">": "&#62;",
                '"': "&#34;",
                "'": "&#39;",
                "/": "&#47;"
            },
            r = e ? /[&<>"'\/]/g : /&(?!#?\w+;)|<|>|"|'|\//g;
        return function(e) {
            return e ? e.toString().replace(r, function(e) {
                return t[e] || e
            }) : ""
        }
    }, r = function() {
        return this || (0, eval)("this")
    }(), "undefined" != typeof module && module.exports ? module.exports = n : "function" == typeof define && define.amd ? define(function() {
        return n
    }) : r.doT = n;
    var o = {
            start: "'+(",
            end: ")+'",
            startencode: "'+encodeHTML("
        },
        i = {
            start: "';out+=(",
            end: ");out+='",
            startencode: "';out+=encodeHTML("
        },
        a = /$^/;
    n.template = function(s, u, c) {
        var l, f, p = (u = u || n.templateSettings).append ? o : i,
            h = 0;
        s = u.use || u.define ? e(u, s, c || {}) : s, s = ("var out='" + (u.strip ? s.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g, " ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g, "") : s).replace(/'|\\/g, "\\$&").replace(u.interpolate || a, function(e, r) {
            return p.start + t(r) + p.end
        }).replace(u.encode || a, function(e, r) {
            return l = !0, p.startencode + t(r) + p.end
        }).replace(u.conditional || a, function(e, r, n) {
            return r ? n ? "';}else if(" + t(n) + "){out+='" : "';}else{out+='" : n ? "';if(" + t(n) + "){out+='" : "';}out+='"
        }).replace(u.iterate || a, function(e, r, n, o) {
            return r ? (h += 1, f = o || "i" + h, r = t(r), "';var arr" + h + "=" + r + ";if(arr" + h + "){var " + n + "," + f + "=-1,l" + h + "=arr" + h + ".length-1;while(" + f + "<l" + h + "){" + n + "=arr" + h + "[" + f + "+=1];out+='") : "';} } out+='"
        }).replace(u.evaluate || a, function(e, r) {
            return "';" + t(r) + "out+='"
        }) + "';return out;").replace(/\n/g, "\\n").replace(/\t/g, "\\t").replace(/\r/g, "\\r").replace(/(\s|;|\}|^|\{)out\+='';/g, "$1").replace(/\+''/g, ""), l && (u.selfcontained || !r || r._encodeHTML || (r._encodeHTML = n.encodeHTMLSource(u.doNotSkipEncoded)), s = "var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : (" + n.encodeHTMLSource.toString() + "(" + (u.doNotSkipEncoded || "") + "));" + s);
        try {
            return new Function(u.varname, s)
        } catch (d) {
            throw d
        }
    }, n.compile = function(e, t) {
        return n.template(e, null, t)
    }
}(),
function(e) {
    "use strict";

    function t(e, t) {
        var r = (65535 & e) + (65535 & t);
        return (e >> 16) + (t >> 16) + (r >> 16) << 16 | 65535 & r
    }

    function r(e, t) {
        return e << t | e >>> 32 - t
    }

    function n(e, n, o, i, a, s) {
        return t(r(t(t(n, e), t(i, s)), a), o)
    }

    function o(e, t, r, o, i, a, s) {
        return n(t & r | ~t & o, e, t, i, a, s)
    }

    function i(e, t, r, o, i, a, s) {
        return n(t & o | r & ~o, e, t, i, a, s)
    }

    function a(e, t, r, o, i, a, s) {
        return n(t ^ r ^ o, e, t, i, a, s)
    }

    function s(e, t, r, o, i, a, s) {
        return n(r ^ (t | ~o), e, t, i, a, s)
    }

    function u(e, r) {
        e[r >> 5] |= 128 << r % 32, e[14 + (r + 64 >>> 9 << 4)] = r;
        var n, u, c, l, f, p = 1732584193,
            h = -271733879,
            d = -1732584194,
            y = 271733878;
        for (n = 0; n < e.length; n += 16) u = p, c = h, l = d, f = y, h = s(h = s(h = s(h = s(h = a(h = a(h = a(h = a(h = i(h = i(h = i(h = i(h = o(h = o(h = o(h = o(h, d = o(d, y = o(y, p = o(p, h, d, y, e[n], 7, -680876936), h, d, e[n + 1], 12, -389564586), p, h, e[n + 2], 17, 606105819), y, p, e[n + 3], 22, -1044525330), d = o(d, y = o(y, p = o(p, h, d, y, e[n + 4], 7, -176418897), h, d, e[n + 5], 12, 1200080426), p, h, e[n + 6], 17, -1473231341), y, p, e[n + 7], 22, -45705983), d = o(d, y = o(y, p = o(p, h, d, y, e[n + 8], 7, 1770035416), h, d, e[n + 9], 12, -1958414417), p, h, e[n + 10], 17, -42063), y, p, e[n + 11], 22, -1990404162), d = o(d, y = o(y, p = o(p, h, d, y, e[n + 12], 7, 1804603682), h, d, e[n + 13], 12, -40341101), p, h, e[n + 14], 17, -1502002290), y, p, e[n + 15], 22, 1236535329), d = i(d, y = i(y, p = i(p, h, d, y, e[n + 1], 5, -165796510), h, d, e[n + 6], 9, -1069501632), p, h, e[n + 11], 14, 643717713), y, p, e[n], 20, -373897302), d = i(d, y = i(y, p = i(p, h, d, y, e[n + 5], 5, -701558691), h, d, e[n + 10], 9, 38016083), p, h, e[n + 15], 14, -660478335), y, p, e[n + 4], 20, -405537848), d = i(d, y = i(y, p = i(p, h, d, y, e[n + 9], 5, 568446438), h, d, e[n + 14], 9, -1019803690), p, h, e[n + 3], 14, -187363961), y, p, e[n + 8], 20, 1163531501), d = i(d, y = i(y, p = i(p, h, d, y, e[n + 13], 5, -1444681467), h, d, e[n + 2], 9, -51403784), p, h, e[n + 7], 14, 1735328473), y, p, e[n + 12], 20, -1926607734), d = a(d, y = a(y, p = a(p, h, d, y, e[n + 5], 4, -378558), h, d, e[n + 8], 11, -2022574463), p, h, e[n + 11], 16, 1839030562), y, p, e[n + 14], 23, -35309556), d = a(d, y = a(y, p = a(p, h, d, y, e[n + 1], 4, -1530992060), h, d, e[n + 4], 11, 1272893353), p, h, e[n + 7], 16, -155497632), y, p, e[n + 10], 23, -1094730640), d = a(d, y = a(y, p = a(p, h, d, y, e[n + 13], 4, 681279174), h, d, e[n], 11, -358537222), p, h, e[n + 3], 16, -722521979), y, p, e[n + 6], 23, 76029189), d = a(d, y = a(y, p = a(p, h, d, y, e[n + 9], 4, -640364487), h, d, e[n + 12], 11, -421815835), p, h, e[n + 15], 16, 530742520), y, p, e[n + 2], 23, -995338651), d = s(d, y = s(y, p = s(p, h, d, y, e[n], 6, -198630844), h, d, e[n + 7], 10, 1126891415), p, h, e[n + 14], 15, -1416354905), y, p, e[n + 5], 21, -57434055), d = s(d, y = s(y, p = s(p, h, d, y, e[n + 12], 6, 1700485571), h, d, e[n + 3], 10, -1894986606), p, h, e[n + 10], 15, -1051523), y, p, e[n + 1], 21, -2054922799), d = s(d, y = s(y, p = s(p, h, d, y, e[n + 8], 6, 1873313359), h, d, e[n + 15], 10, -30611744), p, h, e[n + 6], 15, -1560198380), y, p, e[n + 13], 21, 1309151649), d = s(d, y = s(y, p = s(p, h, d, y, e[n + 4], 6, -145523070), h, d, e[n + 11], 10, -1120210379), p, h, e[n + 2], 15, 718787259), y, p, e[n + 9], 21, -343485551), p = t(p, u), h = t(h, c), d = t(d, l), y = t(y, f);
        return [p, h, d, y]
    }

    function c(e) {
        var t, r = "";
        for (t = 0; t < 32 * e.length; t += 8) r += String.fromCharCode(e[t >> 5] >>> t % 32 & 255);
        return r
    }

    function l(e) {
        var t, r = [];
        for (r[(e.length >> 2) - 1] = undefined, t = 0; t < r.length; t += 1) r[t] = 0;
        for (t = 0; t < 8 * e.length; t += 8) r[t >> 5] |= (255 & e.charCodeAt(t / 8)) << t % 32;
        return r
    }

    function f(e) {
        return c(u(l(e), 8 * e.length))
    }

    function p(e, t) {
        var r, n, o = l(e),
            i = [],
            a = [];
        for (i[15] = a[15] = undefined, o.length > 16 && (o = u(o, 8 * e.length)), r = 0; r < 16; r += 1) i[r] = 909522486 ^ o[r], a[r] = 1549556828 ^ o[r];
        return n = u(i.concat(l(t)), 512 + 8 * t.length), c(u(a.concat(n), 640))
    }

    function h(e) {
        var t, r, n = "";
        for (r = 0; r < e.length; r += 1) t = e.charCodeAt(r), n += "0123456789abcdef".charAt(t >>> 4 & 15) + "0123456789abcdef".charAt(15 & t);
        return n
    }

    function d(e) {
        return unescape(encodeURIComponent(e))
    }

    function y(e) {
        return f(d(e))
    }

    function g(e) {
        return h(y(e))
    }

    function m(e, t) {
        return p(d(e), d(t))
    }

    function v(e, t) {
        return h(m(e, t))
    }

    function b(e, t, r) {
        return t ? r ? m(t, e) : v(t, e) : r ? y(e) : g(e)
    }
    "function" == typeof define && define.amd ? define(function() {
        return b
    }) : "object" == typeof module && module.exports ? module.exports = b : e.md5 = b
}(this), Object.getPrototypeOf || (Object.getPrototypeOf = function(e) {
        if (e !== Object(e)) throw TypeError("Object.getPrototypeOf called on non-object");
        return e.__proto__ || e.constructor.prototype || Object.prototype
    }), "function" != typeof Object.getOwnPropertyNames && (Object.getOwnPropertyNames = function(e) {
        if (e !== Object(e)) throw TypeError("Object.getOwnPropertyNames called on non-object");
        var t, r = [];
        for (t in e) Object.prototype.hasOwnProperty.call(e, t) && r.push(t);
        return r
    }), "function" != typeof Object.create && (Object.create = function(e, t) {
        function r() {}
        if ("object" != typeof e) throw TypeError();
        r.prototype = e;
        var n = new r;
        if (e && (n.constructor = r), t !== undefined) {
            if (t !== Object(t)) throw TypeError();
            Object.defineProperties(n, t)
        }
        return n
    }),
    function() {
        if (!Object.defineProperty || ! function() {
                try {
                    return Object.defineProperty({}, "x", {}), !0
                } catch (e) {
                    return !1
                }
            }()) {
            var e = Object.defineProperty;
            Object.defineProperty = function(t, r, n) {
                if (e) try {
                    return e(t, r, n)
                } catch (o) {}
                if (t !== Object(t)) throw TypeError("Object.defineProperty called on non-object");
                return Object.prototype.__defineGetter__ && "get" in n && Object.prototype.__defineGetter__.call(t, r, n.get), Object.prototype.__defineSetter__ && "set" in n && Object.prototype.__defineSetter__.call(t, r, n.set), "value" in n && (t[r] = n.value), t
            }
        }
    }(), "function" != typeof Object.defineProperties && (Object.defineProperties = function(e, t) {
        if (e !== Object(e)) throw TypeError("Object.defineProperties called on non-object");
        var r;
        for (r in t) Object.prototype.hasOwnProperty.call(t, r) && Object.defineProperty(e, r, t[r]);
        return e
    }), Object.keys || (Object.keys = function(e) {
        if (e !== Object(e)) throw TypeError("Object.keys called on non-object");
        var t, r = [];
        for (t in e) Object.prototype.hasOwnProperty.call(e, t) && r.push(t);
        return r
    }), Function.prototype.bind || (Function.prototype.bind = function(e) {
        if ("function" != typeof this) throw TypeError("Bind must be called on a function");
        var t = Array.prototype.slice.call(arguments, 1),
            r = this,
            n = function() {},
            o = function() {
                return r.apply(this instanceof n ? this : e, t.concat(Array.prototype.slice.call(arguments)))
            };
        return this.prototype && (n.prototype = this.prototype), o.prototype = new n, o
    }), Array.isArray = Array.isArray || function(e) {
        return Boolean(e && "[object Array]" === Object.prototype.toString.call(Object(e)))
    }, Array.prototype.indexOf || (Array.prototype.indexOf = function(e) {
        if (void 0 === this || null === this) throw TypeError();
        var t = Object(this),
            r = t.length >>> 0;
        if (0 === r) return -1;
        var n = 0;
        if (arguments.length > 0 && (n = Number(arguments[1]), isNaN(n) ? n = 0 : 0 !== n && n !== 1 / 0 && n !== -1 / 0 && (n = (n > 0 || -1) * Math.floor(Math.abs(n)))), n >= r) return -1;
        for (var o = n >= 0 ? n : Math.max(r - Math.abs(n), 0); o < r; o++)
            if (o in t && t[o] === e) return o;
        return -1
    }), Array.prototype.lastIndexOf || (Array.prototype.lastIndexOf = function(e) {
        if (void 0 === this || null === this) throw TypeError();
        var t = Object(this),
            r = t.length >>> 0;
        if (0 === r) return -1;
        var n = r;
        arguments.length > 1 && ((n = Number(arguments[1])) !== n ? n = 0 : 0 !== n && n !== 1 / 0 && n !== -1 / 0 && (n = (n > 0 || -1) * Math.floor(Math.abs(n))));
        for (var o = n >= 0 ? Math.min(n, r - 1) : r - Math.abs(n); o >= 0; o--)
            if (o in t && t[o] === e) return o;
        return -1
    }), Array.prototype.every || (Array.prototype.every = function(e) {
        if (void 0 === this || null === this) throw TypeError();
        var t = Object(this),
            r = t.length >>> 0;
        if ("function" != typeof e) throw TypeError();
        var n, o = arguments[1];
        for (n = 0; n < r; n++)
            if (n in t && !e.call(o, t[n], n, t)) return !1;
        return !0
    }), Array.prototype.some || (Array.prototype.some = function(e) {
        if (void 0 === this || null === this) throw TypeError();
        var t = Object(this),
            r = t.length >>> 0;
        if ("function" != typeof e) throw TypeError();
        var n, o = arguments[1];
        for (n = 0; n < r; n++)
            if (n in t && e.call(o, t[n], n, t)) return !0;
        return !1
    }), Array.prototype.forEach || (Array.prototype.forEach = function(e) {
        if (void 0 === this || null === this) throw TypeError();
        var t = Object(this),
            r = t.length >>> 0;
        if ("function" != typeof e) throw TypeError();
        var n, o = arguments[1];
        for (n = 0; n < r; n++) n in t && e.call(o, t[n], n, t)
    }), Array.prototype.map || (Array.prototype.map = function(e) {
        if (void 0 === this || null === this) throw TypeError();
        var t = Object(this),
            r = t.length >>> 0;
        if ("function" != typeof e) throw TypeError();
        var n = [];
        n.length = r;
        var o, i = arguments[1];
        for (o = 0; o < r; o++) o in t && (n[o] = e.call(i, t[o], o, t));
        return n
    }), Array.prototype.filter || (Array.prototype.filter = function(e) {
        if (void 0 === this || null === this) throw TypeError();
        var t = Object(this),
            r = t.length >>> 0;
        if ("function" != typeof e) throw TypeError();
        var n, o = [],
            i = arguments[1];
        for (n = 0; n < r; n++)
            if (n in t) {
                var a = t[n];
                e.call(i, a, n, t) && o.push(a)
            }
        return o
    }), Array.prototype.reduce || (Array.prototype.reduce = function(e) {
        if (void 0 === this || null === this) throw TypeError();
        var t = Object(this),
            r = t.length >>> 0;
        if ("function" != typeof e) throw TypeError();
        if (0 === r && 1 === arguments.length) throw TypeError();
        var n, o = 0;
        if (arguments.length >= 2) n = arguments[1];
        else
            for (;;) {
                if (o in t) {
                    n = t[o++];
                    break
                }
                if (++o >= r) throw TypeError()
            }
        for (; o < r;) o in t && (n = e.call(undefined, n, t[o], o, t)), o++;
        return n
    }), Array.prototype.reduceRight || (Array.prototype.reduceRight = function(e) {
        if (void 0 === this || null === this) throw TypeError();
        var t = Object(this),
            r = t.length >>> 0;
        if ("function" != typeof e) throw TypeError();
        if (0 === r && 1 === arguments.length) throw TypeError();
        var n, o = r - 1;
        if (arguments.length >= 2) n = arguments[1];
        else
            for (;;) {
                if (o in this) {
                    n = this[o--];
                    break
                }
                if (--o < 0) throw TypeError()
            }
        for (; o >= 0;) o in t && (n = e.call(undefined, n, t[o], o, t)), o--;
        return n
    }), String.prototype.trim || (String.prototype.trim = function() {
        return String(this).replace(/^\s+/, "").replace(/\s+$/, "")
    }), Date.now || (Date.now = function() {
        return Number(new Date)
    }), Date.prototype.toISOString || (Date.prototype.toISOString = function() {
        function e(e) {
            return ("00" + e).slice(-2)
        }
        return this.getUTCFullYear() + "-" + e(this.getUTCMonth() + 1) + "-" + e(this.getUTCDate()) + "T" + e(this.getUTCHours()) + ":" + e(this.getUTCMinutes()) + ":" + e(this.getUTCSeconds()) + "." + function(e) {
            return ("000" + e).slice(-3)
        }(this.getUTCMilliseconds()) + "Z"
    }),
    function(e) {
        "use strict";

        function t(t) {
            return t === e ? P : t
        }

        function r(e, t) {
            for (var r = Object.getOwnPropertyDescriptor(e, t), n = Object.getPrototypeOf(e); !r && n;) r = Object.getOwnPropertyDescriptor(n, t), n = Object.getPrototypeOf(n);
            return r
        }

        function n(e, t, r, n) {
            if (!(t in e) || n || L) try {
                "function" == typeof r ? Object.defineProperty(e, t, {
                    value: r,
                    configurable: !0,
                    enumerable: !1,
                    writable: !0
                }) : Object.defineProperty(e, t, {
                    value: r,
                    configurable: !1,
                    enumerable: !1,
                    writable: !1
                })
            } catch (o) {}
        }

        function o(e, t, r) {
            Object.defineProperty(e, t, {
                value: r,
                configurable: !1,
                enumerable: !1,
                writable: !0
            })
        }

        function i() {
            function e(e) {
                var t = e.valueOf,
                    n = N(null);
                return Object.defineProperty(e, "valueOf", {
                    value: function(r) {
                        return function(o) {
                            return o === r ? n : t.apply(e, arguments)
                        }
                    }(r),
                    configurable: !0,
                    writeable: !0,
                    enumerable: !1
                }), n
            }

            function t(e) {
                var t = "function" == typeof e.valueOf && e.valueOf(r);
                return t === e ? null : t
            }
            var r = N(null);
            return {
                clear: function() {
                    r = N(null)
                },
                remove: function(e) {
                    var r = t(e);
                    return !(!r || !v(r, "value")) && (delete r.value, !0)
                },
                get: function(e, r) {
                    var n = t(e);
                    return n && v(n, "value") ? n.value : r
                },
                has: function(e) {
                    var r = t(e);
                    return Boolean(r && v(r, "value"))
                },
                set: function(r, n) {
                    (t(r) || e(r)).value = n
                }
            }
        }

        function a(t) {
            switch (typeof t) {
                case "undefined":
                    return "undefined";
                case "boolean":
                    return "boolean";
                case "number":
                    return "number";
                case "string":
                    return "string";
                case "symbol":
                    return "symbol";
                default:
                    return null === t ? "null" : t instanceof e.Symbol ? "symbol" : "object"
            }
        }

        function s(e) {
            return e = Number(e), I(e) ? 0 : 0 === e || e === Infinity || e === -Infinity ? e : (e < 0 ? -1 : 1) * X(W(e))
        }

        function u(e) {
            return e >>> 0
        }

        function c(e) {
            if (null === e || e === P) throw TypeError();
            return Object(e)
        }

        function l(e) {
            var t = s(e);
            return t <= 0 ? 0 : t === Infinity ? 9007199254740991 : Y(t, 9007199254740991)
        }

        function f(e) {
            return "function" == typeof e
        }

        function p(e) {
            return !!/Constructor/.test(Object.prototype.toString.call(e)) || (!!/Function/.test(Object.prototype.toString.call(e)) || "function" == typeof e)
        }

        function h(e, t) {
            if (typeof e != typeof t) return !1;
            switch (typeof e) {
                case "undefined":
                    return !0;
                case "number":
                    return e !== e && t !== t || (0 === e && 0 === t ? 1 / e == 1 / t : e === t);
                case "boolean":
                case "string":
                case "object":
                default:
                    return e === t
            }
        }

        function d(e, t) {
            if (typeof e != typeof t) return !1;
            switch (typeof e) {
                case "undefined":
                    return !0;
                case "number":
                    return e !== e && t !== t || e === t;
                case "boolean":
                case "string":
                case "object":
                default:
                    return e === t
            }
        }

        function y(e, t) {
            return c(e)[t]
        }

        function g(e, t) {
            var r = y(e, t);
            if (r === P || null === r) return P;
            if (!f(r)) throw TypeError();
            return r
        }

        function m(e, t) {
            for (; e;) {
                if (Object.prototype.hasOwnProperty.call(e, t)) return !0;
                if ("object" !== a(e)) return !1;
                e = Object.getPrototypeOf(e)
            }
            return !1
        }

        function v(e, t) {
            return Object.prototype.hasOwnProperty.call(e, t)
        }

        function b(e, t) {
            arguments.length < 2 && (t = g(e, ie));
            var r = t.call(e);
            if ("object" !== a(r)) throw TypeError();
            return r
        }

        function w(e, t) {
            if (arguments.length < 2) var r = e.next();
            else r = e.next(t);
            if ("object" !== a(r)) throw TypeError();
            return r
        }

        function x(e) {
            return e.value
        }

        function E(e, t) {
            var r = w(e, t),
                n = r.done;
            return !0 !== Boolean(n) && r
        }

        function T(e, t) {
            var r = {};
            return r.value = e, r.done = t, r
        }

        function S(e, t, r) {
            R(function() {
                t.apply(P, r)
            })
        }

        function _(e) {}

        function j(e) {
            var t = [];
            if (Object(e) !== e) return t;
            for (var r = new Set; null !== e;) Object.getOwnPropertyNames(e).forEach(function(n) {
                if (!r.has(n)) {
                    var o = Object.getOwnPropertyDescriptor(e, n);
                    o && (r.add(n), o.enumerable && t.push(n))
                }
            }), e = Object.getPrototypeOf(e);
            return t[ie]()
        }

        function A(e) {
            return Object.getOwnPropertyNames(e)
        }

        function N(e, t) {
            return Object.create(e, t)
        }

        function k() {}

        function O(e, t) {
            var r = String(e),
                n = new k;
            return o(n, "[[IteratedString]]", r), o(n, "[[StringIteratorNextIndex]]", 0), o(n, "[[StringIterationKind]]", t), n
        }

        function C() {}

        function D(e, t) {
            var r = c(e),
                n = new C;
            return o(n, "[[IteratedObject]]", r), o(n, "[[ArrayIteratorNextIndex]]", 0), o(n, "[[ArrayIterationKind]]", t), n
        }
        var M, L = !1,
            P = void 0,
            R = function(e, t) {
                return e ? function(t) {
                    e.resolve().then(function() {
                        t()
                    })
                } : t ? function(e) {
                    t(e)
                } : function(e) {
                    setTimeout(e, 0)
                }
            }(e.Promise, e.setImmediate),
            I = e.isNaN,
            F = e.parseInt,
            H = e.parseFloat,
            $ = Math.E,
            q = Math.LOG10E,
            B = Math.LOG2E,
            W = Math.abs,
            U = Math.ceil,
            z = Math.exp,
            X = Math.floor,
            V = Math.log,
            G = Math.max,
            Y = Math.min,
            J = Math.pow,
            K = Math.random,
            Q = Math.sqrt,
            Z = String.prototype.match,
            ee = String.prototype.replace,
            te = String.prototype.search,
            re = String.prototype.split,
            ne = Object.create(null);
        ! function() {
            function r(e) {
                return Array(e + 1).join("x").replace(/x/g, function() {
                    return K() < .5 ? "‌" : "‍"
                })
            }

            function i(e) {
                if (!(this instanceof i)) return new i(e, a);
                if (this instanceof i && arguments[1] !== a) throw TypeError();
                var t = e === P ? P : String(e);
                return o(this, "[[SymbolData]]", r(128)), o(this, "[[Description]]", t), s[this] = this, this
            }
            var a = Object.create(null),
                s = {};
            M = function(e) {
                return s[e]
            };
            var u = [];
            "Symbol" in e && !L || (e.Symbol = i), n(i, "for", function(e) {
                for (var t = String(e), r = 0; r < u.length; ++r) {
                    var n = u[r];
                    if (h(n["[[key]]"], t)) return n["[[symbol]]"]
                }
                var o = i(e);
                return u.push({
                    "[[key]]": t,
                    "[[symbol]]": o
                }), o
            }), n(e.Symbol, "iterator", e.Symbol("Symbol.iterator")), n(i, "keyFor", function(e) {
                if (!(e instanceof i)) throw TypeError();
                for (var t = 0; t < u.length; ++t) {
                    var r = u[t];
                    if (h(r["[[symbol]]"], e)) return r["[[key]]"]
                }
                return P
            }), n(e.Symbol, "match", e.Symbol("Symbol.match")), n(e.Symbol, "replace", e.Symbol("Symbol.replace")), n(e.Symbol, "search", e.Symbol("Symbol.search")), n(e.Symbol, "split", e.Symbol("Symbol.split")), n(e.Symbol, "toStringTag", e.Symbol("Symbol.toStringTag")), Object.defineProperty(i.prototype, "toString", {
                value: function() {
                    var e = t(this),
                        r = e["[[Description]]"];
                    return "Symbol(" + (r === P ? "" : r) + e["[[SymbolData]]"] + ")"
                },
                configurable: !0,
                writeable: !0,
                enumerable: !1
            }), Object.defineProperty(i.prototype, "valueOf", {
                value: function() {
                    throw TypeError()
                },
                configurable: !0,
                writeable: !0,
                enumerable: !1
            })
        }();
        var oe = {},
            ie = e.Symbol.iterator,
            ae = e.Symbol.match,
            se = e.Symbol.replace,
            ue = e.Symbol.search,
            ce = e.Symbol.split,
            le = e.Symbol.toStringTag;
        n(Object, "assign", function(e, t) {
                var r = c(e);
                if (arguments.length < 2) return r;
                for (var n = 1; n < arguments.length;) {
                    var o = arguments[n++];
                    if (o === P || null === o) var i = [];
                    else {
                        var a = c(o);
                        i = A(a)
                    }
                    for (var s = 0; s < i.length; ++s) {
                        var u = i[s],
                            l = Object.getOwnPropertyDescriptor(a, u);
                        if (l !== P && l.enumerable) {
                            var f = a[u];
                            r[u] = f
                        }
                    }
                }
                return r
            }),
            function() {
                function t(e) {
                    return !M(e)
                }
                var r = "symbol" == typeof e.Symbol(),
                    o = Object.getOwnPropertyNames,
                    i = Object.keys,
                    a = "object" == typeof window ? o(window) : [];
                n(Object, "getOwnPropertyNames", function(e) {
                    if ("[object Window]" === Object.prototype.toString.call(e)) try {
                        return o(e).filter(t)
                    } catch (r) {
                        return a.slice()
                    }
                    return o(e).filter(t)
                }, !r), n(Object, "getOwnPropertySymbols", function(e) {
                    return o(e).filter(M).map(M)
                }, !r), n(Object, "keys", function(e) {
                    return i(e).filter(t)
                }, !r)
            }(), n(Object, "is", function(e, t) {
                return h(e, t)
            }), n(Object, "setPrototypeOf", function(e, t) {
                if ("object" !== a(e)) throw TypeError();
                if ("object" !== a(t) && "null" !== a(t)) throw TypeError();
                return e.__proto__ = t, e
            }),
            function(e, r, n) {
                var o = e[r];
                e[r] = function() {
                    var e = t(this),
                        r = n.apply(e, arguments);
                    return r !== P ? r : o.apply(e, arguments)
                }
            }(Object.prototype, "toString", function() {
                var e = t(this);
                return e === Object(e) && le in e ? "[object " + e[le] + "]" : P
            }), n(e.Symbol.prototype, e.Symbol.toStringTag, "Symbol"), n(Number, "EPSILON", function() {
                var e, t;
                for (e = 1; 1 + e !== 1; e /= 2) t = e;
                return t
            }()), n(Number, "isFinite", function(e) {
                return "number" === a(e) && (e === e && e !== +Infinity && e !== -Infinity)
            }), n(Number, "isInteger", function(e) {
                return "number" === a(e) && (e === e && e !== +Infinity && e !== -Infinity && s(e) === e)
            }), n(Number, "isNaN", function(e) {
                return "number" === a(e) && e !== e
            }), n(Number, "isSafeInteger", function(e) {
                if ("number" !== a(e)) return !1;
                if (e !== e || e === +Infinity || e === -Infinity) return !1;
                var t = s(e);
                return t === e && W(t) <= 9007199254740991
            }), n(Number, "MAX_SAFE_INTEGER", 9007199254740991), n(Number, "MIN_SAFE_INTEGER", -9007199254740991), n(Number, "parseFloat", H), n(Number, "parseInt", F), n(Math, le, "Math"), n(Math, "acosh", function(e) {
                return e = Number(e), V(e + Q(e * e - 1))
            }), n(Math, "asinh", function(e) {
                if (e = Number(e), h(e, -0)) return e;
                var t = Q(e * e + 1);
                return V(t === -e ? 0 : e + t)
            }), n(Math, "atanh", function(e) {
                return 0 === (e = Number(e)) ? e : V((1 + e) / (1 - e)) / 2
            }), n(Math, "cbrt", function(e) {
                if (e = Number(e), I(e / e)) return e;
                var t = J(W(e), 1 / 3),
                    r = e / t / t;
                return t + t * (r - t) / (2 * t + r)
            }), n(Math, "clz32", function(e) {
                function t(e) {
                    return 240 & e ? 128 & e ? 0 : 64 & e ? 1 : 32 & e ? 2 : 3 : 8 & e ? 4 : 4 & e ? 5 : 2 & e ? 6 : 1 & e ? 7 : 8
                }
                return 4278190080 & (e = u(e)) ? t(e >> 24) : 16711680 & e ? t(e >> 16) + 8 : 65280 & e ? t(e >> 8) + 16 : t(e) + 24
            }), n(Math, "cosh", function(e) {
                return e = Number(e), (J($, e) + J($, -e)) / 2
            }), n(Math, "expm1", function(e) {
                return e = Number(e), h(e, -0) ? -0 : W(e) < 1e-5 ? e + .5 * e * e : z(e) - 1
            }), n(Math, "fround", function(e) {
                return I(e) ? NaN : 1 / e == +Infinity || 1 / e == -Infinity || e === +Infinity || e === -Infinity ? e : new Float32Array([e])[0]
            }), n(Math, "hypot", function() {
                for (var e = [], t = 0, r = !1, n = 0; n < arguments.length; ++n) {
                    var o = W(Number(arguments[n]));
                    if (o === Infinity) return o;
                    o !== o && (r = !0), o > t && (t = o), e[n] = o
                }
                if (r) return NaN;
                if (0 === t) return 0;
                var i = 0;
                for (n = 0; n < e.length; ++n) {
                    var a = e[n] / t;
                    i += a * a
                }
                return t * Q(i)
            }), n(Math, "imul", function(e, t) {
                var r = u(e),
                    n = u(t),
                    o = 65535 & r,
                    i = 65535 & n;
                return o * i + ((r >>> 16 & 65535) * i + o * (n >>> 16 & 65535) << 16 >>> 0) | 0
            }, "imul" in Math && 0 === Math.imul(1, 2147483648)), n(Math, "log1p", function(e) {
                return (e = Number(e)) < -1 ? NaN : h(e, -0) ? -0 : W(e) > 1e-4 ? V(1 + e) : (-.5 * e + 1) * e
            }), n(Math, "log10", function(e) {
                return e = Number(e), V(e) * q
            }), n(Math, "log2", function(e) {
                return e = Number(e), V(e) * B
            }), n(Math, "sign", function(e) {
                return (e = Number(e)) < 0 ? -1 : e > 0 ? 1 : e
            }), n(Math, "sinh", function(e) {
                return e = Number(e), h(e, -0) ? e : (J($, e) - J($, -e)) / 2
            }), n(Math, "tanh", function(e) {
                e = Number(e);
                var t = J($, 2 * e) - 1,
                    r = J($, 2 * e) + 1;
                return h(e, -0) ? e : t === r ? 1 : t / r
            }), n(Math, "trunc", function(e) {
                return e = Number(e), I(e) ? NaN : e < 0 ? U(e) : X(e)
            });
        var fe = function() {
            var e = {},
                t = Symbol();
            return e[Symbol.match] = function() {
                return t
            }, "".match(e) === t
        }();
        n(String, "fromCodePoint", function() {
            for (var e = arguments, t = e.length, r = [], n = 0; n < t;) {
                var o = e[n],
                    i = Number(o);
                if (!h(i, s(i)) || i < 0 || i > 1114111) throw RangeError("Invalid code point " + i);
                i < 65536 ? r.push(String.fromCharCode(i)) : (i -= 65536, r.push(String.fromCharCode(55296 + (i >> 10))), r.push(String.fromCharCode(i % 1024 + 56320))), n += 1
            }
            return r.join("")
        }), n(String, "raw", function(e) {
            var t = [].slice.call(arguments, 1),
                r = Object(e).raw,
                n = Object(r),
                o = l(n.length);
            if (o <= 0) return "";
            for (var i = [], a = 0;;) {
                var s = n[a],
                    u = String(s);
                if (i.push(u), a + 1 === o) return i.join("");
                s = t[a];
                var c = String(s);
                i.push(c), a += 1
            }
        }), n(String.prototype, "codePointAt", function(e) {
            var r = t(this),
                n = String(r),
                o = s(e),
                i = n.length;
            if (o < 0 || o >= i) return P;
            var a = n.charCodeAt(o);
            if (a < 55296 || a > 56319 || o + 1 === i) return a;
            var u = n.charCodeAt(o + 1);
            return u < 56320 || u > 57343 ? a : 1024 * (a - 55296) + (u - 56320) + 65536
        }), n(String.prototype, "endsWith", function(e) {
            var r = arguments[1],
                n = t(this),
                o = String(n),
                i = String(e),
                a = o.length,
                u = r === P ? a : s(r),
                c = Y(G(u, 0), a),
                l = i.length,
                f = c - l;
            return !(f < 0) && o.substring(f, f + l) === i
        }), n(String.prototype, "includes", function(e) {
            var r = arguments[1],
                n = t(this),
                o = String(n),
                i = String(e),
                a = s(r),
                u = o.length,
                c = Y(G(a, 0), u);
            return -1 !== o.indexOf(i, c)
        }), n(String.prototype, "match", function(e) {
            var r = t(this),
                n = String(r);
            if (m(e, ae)) var o = e;
            else o = new RegExp(e);
            return o[ae](n)
        }, !fe), n(String.prototype, "repeat", function(e) {
            var r = t(this),
                n = String(r),
                o = s(e);
            if (o < 0) throw RangeError();
            if (o === Infinity) throw RangeError();
            return new Array(o + 1).join(n)
        }), n(String.prototype, "replace", function(e, r) {
            var n = t(this);
            return m(e, se) ? e[se](n, r) : ee.call(n, e, r)
        }, !fe), n(String.prototype, "search", function(e) {
            var r = t(this),
                n = String(r);
            if (m(e, ue)) var o = e;
            else o = new RegExp(e);
            return o[ue](n)
        }, !fe), n(String.prototype, "split", function(e, r) {
            var n = t(this);
            return m(e, ce) ? e[ce](n, r) : re.call(n, e, r)
        }, !fe), n(String.prototype, "startsWith", function(e) {
            var r = arguments[1],
                n = t(this),
                o = String(n),
                i = String(e),
                a = s(r),
                u = o.length,
                c = Y(G(a, 0), u),
                l = i.length;
            return !(l + c > u) && o.substring(c, c + l) === i
        }), n(String.prototype, ie, function() {
            return O(this, "value")
        });
        var pe = Object.create(oe);
        k.prototype = pe, n(pe, "next", function() {
            var e = c(this),
                t = String(e["[[IteratedString]]"]),
                r = e["[[StringIteratorNextIndex]]"];
            if (r >= t.length) return o(e, "[[StringIteratorNextIndex]]", Infinity), T(P, !0);
            var n = t.codePointAt(r);
            return o(e, "[[StringIteratorNextIndex]]", r + (n > 65535 ? 2 : 1)), T(String.fromCodePoint(n), !1)
        }), n(pe, le, "String Iterator"), "flags" in RegExp.prototype || Object.defineProperty(RegExp.prototype, "flags", {
            get: function() {
                var e = String(this);
                return e.substring(e.lastIndexOf("/") + 1)
            }
        }), n(RegExp.prototype, ae, function(e) {
            var r = t(this);
            return Z.call(e, r)
        }), n(RegExp.prototype, se, function(e, r) {
            var n = t(this);
            return ee.call(e, n, r)
        }), n(RegExp.prototype, ue, function(e) {
            var r = t(this);
            return te.call(e, r)
        }), n(RegExp.prototype, ce, function(e, r) {
            var n = t(this);
            return re.call(e, n, r)
        }), n(Array, "from", function(e) {
            var r = arguments[1],
                n = arguments[2],
                o = t(this);
            if (r === P) var i = !1;
            else {
                if (!f(r)) throw TypeError();
                var a = n;
                i = !0
            }
            var s = g(e, ie);
            if (s !== P) {
                if (p(o)) var u = new o;
                else u = new Array(0);
                for (var h = b(e, s), d = 0;;) {
                    var y = E(h);
                    if (!1 === y) return u.length = d, u;
                    var m = x(y);
                    if (i) var v = r.call(a, m);
                    else v = m;
                    u[d] = v, d += 1
                }
            }
            var w = c(e),
                T = l(w.length);
            for (u = p(o) ? new o(T) : new Array(T), d = 0; d < T;) {
                var S = w[d];
                v = i ? r.call(a, S, d) : S, u[d] = v, d += 1
            }
            return u.length = T, u
        }), n(Array, "of", function() {
            var e, r = arguments,
                n = u(r.length),
                o = t(this);
            e = p(o) ? c(e = new o(n)) : new Array(n);
            for (var i = 0; i < n;) e[i] = r[i], i += 1;
            return e.length = n, e
        }), n(Array.prototype, "copyWithin", function(e, t) {
            var r = arguments[2],
                n = c(this),
                o = l(n.length);
            o = G(o, 0);
            var i, a = s(e);
            i = a < 0 ? G(o + a, 0) : Y(a, o);
            var u, f = s(t);
            u = f < 0 ? G(o + f, 0) : Y(f, o);
            var p, h;
            h = (p = r === P ? o : s(r)) < 0 ? G(o + p, 0) : Y(p, o);
            var d, y = Y(h - u, o - i);
            for (u < i && i < u + y ? (d = -1, u = u + y - 1, i = i + y - 1) : d = 1; y > 0;) {
                var g = String(u),
                    v = String(i);
                if (m(n, g)) {
                    var b = n[g];
                    n[v] = b
                } else delete n[v];
                u += d, i += d, y -= 1
            }
            return n
        });
        var he = "entries" in Array.prototype && "next" in [].entries();
        n(Array.prototype, "entries", function() {
            return D(this, "key+value")
        }, !he), n(Array.prototype, "fill", function(e) {
            var t = arguments[1],
                r = arguments[2],
                n = c(this),
                o = l(n.length);
            o = G(o, 0);
            var i, a = s(t);
            i = a < 0 ? G(o + a, 0) : Y(a, o);
            var u, f;
            for (f = (u = r === P ? o : s(r)) < 0 ? G(o + u, 0) : Y(u, o); i < f;) n[String(i)] = e, i += 1;
            return n
        }), n(Array.prototype, "find", function(e) {
            var t = c(this),
                r = s(t.length);
            if (!f(e)) throw TypeError();
            for (var n = arguments.length > 1 ? arguments[1] : P, o = 0; o < r;) {
                var i = String(o);
                if (m(t, i)) {
                    var a = t[i],
                        u = e.call(n, a, o, t);
                    if (Boolean(u)) return a
                }++o
            }
            return P
        }), n(Array.prototype, "findIndex", function(e) {
            var t = c(this),
                r = l(t.length);
            if (!f(e)) throw TypeError();
            for (var n = arguments.length > 1 ? arguments[1] : P, o = 0; o < r;) {
                var i = String(o);
                if (m(t, i)) {
                    var a = t[i],
                        s = e.call(n, a, o, t);
                    if (Boolean(s)) return o
                }++o
            }
            return -1
        }), n(Array.prototype, "keys", function() {
            return D(this, "key")
        }, !he), n(Array.prototype, "values", function() {
            return D(this, "value")
        }, !he), n(Array.prototype, ie, Array.prototype.values);
        var de = Object.create(oe);
        C.prototype = de, n(de, "next", function() {
                var e = t(this);
                if ("object" !== a(e)) throw TypeError();
                var r, n, i = e["[[IteratedObject]]"],
                    s = e["[[ArrayIteratorNextIndex]]"],
                    c = e["[[ArrayIterationKind]]"],
                    l = u(i.length);
                if (-1 !== c.indexOf("sparse"))
                    for (var f = !1; !f && s < l;)(f = m(i, r = String(s))) || (s += 1);
                if (s >= l) return o(e, "[[ArrayIteratorNextIndex]]", Infinity), T(P, !0);
                if (r = s, o(e, "[[ArrayIteratorNextIndex]]", s + 1), -1 !== c.indexOf("value") && (n = i[r]), -1 !== c.indexOf("key+value")) return T([r, n], !1);
                if (-1 !== c.indexOf("key")) return T(r, !1);
                if ("value" === c) return T(n, !1);
                throw Error("Internal error")
            }), n(de, le, "Array Iterator"), ["Int8Array", "Uint8Array", "Uint8ClampedArray", "Int16Array", "Uint16Array", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"].forEach(function(r) {
                if (r in e) {
                    var o = e[r];
                    n(o, "from", function(e) {
                        var r = arguments[1],
                            n = arguments[2],
                            o = t(this);
                        if (!p(o)) throw TypeError();
                        if (r === P) var i = !1;
                        else {
                            if (f(r)) throw TypeError();
                            var a = n;
                            i = !0
                        }
                        var s = g(e, ie);
                        if (s !== P) {
                            for (var u = b(e, s), h = [], d = !0; !1 !== d;)
                                if (!1 !== (d = E(u))) {
                                    var y = x(d);
                                    h.push(y)
                                }
                            for (var m = h.length, v = new o(m), w = 0; w < m;) {
                                var T = h.shift();
                                if (i) var S = r.call(a, T);
                                else S = T;
                                v[w] = S, ++w
                            }
                            return v
                        }
                        var _ = c(e);
                        for (v = new o(m = l(_.length)), w = 0; w < m;) T = _[w], S = i ? r.call(a, T, w) : T, v[w] = S, ++w;
                        return v
                    }), n(o, "of", function() {
                        for (var e = arguments, r = e.length, n = new(t(this))(r), o = 0; o < r;) n[o] = e[o], ++o;
                        return n
                    }), n(o.prototype, "copyWithin", Array.prototype.copyWithin), n(o.prototype, "entries", Array.prototype.entries), n(o.prototype, "every", Array.prototype.every), n(o.prototype, "fill", function(e) {
                        var t = arguments[1],
                            r = arguments[2],
                            n = c(this),
                            o = l(n.length);
                        o = G(o, 0);
                        var i, a = s(t);
                        i = a < 0 ? G(o + a, 0) : Y(a, o);
                        var u, f;
                        for (f = (u = r === P ? o : s(r)) < 0 ? G(o + u, 0) : Y(u, o); i < f;) n[String(i)] = e, i += 1;
                        return n
                    }), n(o.prototype, "filter", function(e) {
                        var t = arguments[1],
                            r = c(this),
                            n = l(r.length);
                        if (!f(e)) throw TypeError();
                        for (var o = t, i = r.constructor, a = [], s = 0, u = 0; s < n;) {
                            var p = r[s];
                            e.call(o, p, s, r) && (a.push(p), ++u), ++s
                        }
                        for (var h = new i(u), d = 0, y = 0; y < a.length; ++y) {
                            var g = a[y];
                            h[d] = g, ++d
                        }
                        return h
                    }), n(o.prototype, "find", Array.prototype.find), n(o.prototype, "findIndex", Array.prototype.findIndex), n(o.prototype, "forEach", Array.prototype.forEach), n(o.prototype, "indexOf", Array.prototype.indexOf), n(o.prototype, "join", Array.prototype.join), n(o.prototype, "keys", Array.prototype.keys), n(o.prototype, "lastIndexOf", Array.prototype.lastIndexOf), n(o.prototype, "map", function(e) {
                        var t = arguments[1],
                            r = c(this),
                            n = l(r.length);
                        if (!f(e)) throw TypeError();
                        var o = t,
                            i = P,
                            a = r.constructor;
                        p(a) && (i = new a(n)), i === P && (i = new Array(n));
                        for (var s = 0; s < n;) {
                            if (m(r, s)) {
                                var u = r[s],
                                    h = e.call(o, u, s, r);
                                i[s] = h
                            }++s
                        }
                        return i
                    }), n(o.prototype, "reduce", Array.prototype.reduce), n(o.prototype, "reduceRight", Array.prototype.reduceRight), n(o.prototype, "reverse", Array.prototype.reverse), n(o.prototype, "slice", function(e, t) {
                        var r = c(this),
                            n = l(r.length),
                            o = s(e),
                            i = o < 0 ? G(n + o, 0) : Y(o, n),
                            a = t === P ? n : s(t),
                            u = a < 0 ? G(n + a, 0) : Y(a, n),
                            f = u - i,
                            h = r.constructor;
                        if (!p(h)) throw TypeError();
                        for (var d = new h(f), y = 0; i < u;) {
                            var g = r[i];
                            d[y] = g, ++i, ++y
                        }
                        return d
                    }), n(o.prototype, "some", Array.prototype.some), n(o.prototype, "sort", function() {
                        var e = arguments[0];
                        return Array.prototype.sort.call(this, function(t, r) {
                            return t !== t && r !== r ? 0 : t !== t ? 1 : r !== r ? -1 : e !== P ? e(t, r) : t < r ? -1 : t > r ? 1 : 0
                        })
                    }), n(o.prototype, "values", Array.prototype.values), n(o.prototype, ie, o.prototype.values), n(o.prototype, le, r)
                }
            }),
            function() {
                function r() {
                    var e = t(this),
                        r = arguments[0];
                    if ("object" !== a(e)) throw TypeError();
                    if ("[[MapData]]" in e) throw TypeError();
                    if (r !== P) {
                        var n = e.set;
                        if (!f(n)) throw TypeError();
                        var i = b(c(r))
                    }
                    if (o(e, "[[MapData]]", {
                            keys: [],
                            values: []
                        }), i === P) return e;
                    for (;;) {
                        var s = E(i);
                        if (!1 === s) return e;
                        var u = x(s);
                        if ("object" !== a(u)) throw TypeError();
                        var l = u[0],
                            p = u[1];
                        n.call(e, l, p)
                    }
                    return e
                }

                function i(e, t) {
                    var r;
                    if (t === t) return e.keys.indexOf(t);
                    for (r = 0; r < e.keys.length; r += 1)
                        if (d(e.keys[r], t)) return r;
                    return -1
                }

                function s() {}

                function u(e, t) {
                    if ("object" !== a(e)) throw TypeError();
                    if (!("[[MapData]]" in e)) throw TypeError();
                    if (e["[[MapData]]"] === P) throw TypeError();
                    var r = new s;
                    return o(r, "[[Map]]", e), o(r, "[[MapNextIndex]]", 0), o(r, "[[MapIterationKind]]", t), r
                }
                "Map" in e && !L && ! function() {
                    try {
                        return new e.Map([]), !1
                    } catch (t) {
                        return !0
                    }
                }() && ! function() {
                    try {
                        return !(new e.Map).entries().next
                    } catch (t) {
                        return !0
                    }
                }() && 1 === new e.Map([
                    ["a", 1]
                ]).size || (e.Map = r);
                var l = {};
                n(r.prototype = l, "clear", function() {
                    var e = t(this);
                    if ("object" !== a(e)) throw TypeError();
                    if (!("[[MapData]]" in e)) throw TypeError();
                    if (e["[[MapData]]"] === P) throw TypeError();
                    var r = e["[[MapData]]"];
                    return r.keys.length = 0, r.values.length = 0, P
                }), n(r.prototype, "delete", function(e) {
                    var r = t(this);
                    if ("object" !== a(r)) throw TypeError();
                    if (!("[[MapData]]" in r)) throw TypeError();
                    if (r["[[MapData]]"] === P) throw TypeError();
                    var n = r["[[MapData]]"],
                        o = i(n, e);
                    return !(o < 0) && (n.keys[o] = ne, n.values[o] = ne, !0)
                }), n(r.prototype, "entries", function() {
                    var e = t(this);
                    if ("object" !== a(e)) throw TypeError();
                    return u(e, "key+value")
                }), n(r.prototype, "forEach", function(e) {
                    var r = arguments[1],
                        n = t(this);
                    if ("object" !== a(n)) throw TypeError();
                    if (!("[[MapData]]" in n)) throw TypeError();
                    if (n["[[MapData]]"] === P) throw TypeError();
                    var o = n["[[MapData]]"];
                    if (!f(e)) throw TypeError("First argument to forEach is not callable.");
                    for (var i = 0; i < o.keys.length; ++i) o.keys[i] !== ne && e.call(r, o.values[i], o.keys[i], n);
                    return P
                }), n(r.prototype, "get", function(e) {
                    var r = t(this);
                    if ("object" !== a(r)) throw TypeError();
                    if (!("[[MapData]]" in r)) throw TypeError();
                    if (r["[[MapData]]"] === P) throw TypeError();
                    var n = r["[[MapData]]"],
                        o = i(n, e);
                    return o >= 0 ? n.values[o] : P
                }), n(r.prototype, "has", function(e) {
                    var r = t(this);
                    if ("object" !== a(r)) throw TypeError();
                    if (!("[[MapData]]" in r)) throw TypeError();
                    if (r["[[MapData]]"] === P) throw TypeError();
                    return i(r["[[MapData]]"], e) >= 0
                }), n(r.prototype, "keys", function() {
                    var e = t(this);
                    if ("object" !== a(e)) throw TypeError();
                    return u(e, "key")
                }), n(r.prototype, "set", function(e, r) {
                    var n = t(this);
                    if ("object" !== a(n)) throw TypeError();
                    if (!("[[MapData]]" in n)) throw TypeError();
                    if (n["[[MapData]]"] === P) throw TypeError();
                    var o = n["[[MapData]]"],
                        s = i(o, e);
                    return s < 0 && (s = o.keys.length), h(e, -0) && (e = 0), o.keys[s] = e, o.values[s] = r, n
                }), Object.defineProperty(r.prototype, "size", {
                    get: function() {
                        var e = t(this);
                        if ("object" !== a(e)) throw TypeError();
                        if (!("[[MapData]]" in e)) throw TypeError();
                        if (e["[[MapData]]"] === P) throw TypeError();
                        for (var r = e["[[MapData]]"], n = 0, o = 0; o < r.keys.length; ++o) r.keys[o] !== ne && (n += 1);
                        return n
                    }
                }), n(r.prototype, "values", function() {
                    var e = t(this);
                    if ("object" !== a(e)) throw TypeError();
                    return u(e, "value")
                }), n(r.prototype, ie, function() {
                    var e = t(this);
                    if ("object" !== a(e)) throw TypeError();
                    return u(e, "key+value")
                }), n(e.Map.prototype, le, "Map");
                var p = Object.create(oe);
                s.prototype = p, n(p, "next", function() {
                    var e = t(this);
                    if ("object" !== a(e)) throw TypeError();
                    for (var r = e["[[Map]]"], n = e["[[MapNextIndex]]"], i = e["[[MapIterationKind]]"], s = r["[[MapData]]"]; n < s.keys.length;) {
                        var u = {
                            key: s.keys[n],
                            value: s.values[n]
                        };
                        if (n = n += 1, o(e, "[[MapNextIndex]]", n), u.key !== ne) return "key" === i ? T(u.key, !1) : "value" === i ? T(u.value, !1) : T([u.key, u.value], !1)
                    }
                    return T(P, !0)
                }), n(p, le, "Map Iterator")
            }(),
            function() {
                function r() {
                    var e = t(this),
                        r = arguments[0];
                    if ("object" !== a(e)) throw TypeError();
                    if ("[[SetData]]" in e) throw TypeError();
                    if (r !== P) {
                        var n = e.add;
                        if (!f(n)) throw TypeError();
                        var i = b(c(r))
                    }
                    if (o(e, "[[SetData]]", []), i === P) return e;
                    for (;;) {
                        var s = E(i);
                        if (!1 === s) return e;
                        var u = x(s);
                        n.call(e, u)
                    }
                    return e
                }

                function i(e, t) {
                    var r;
                    if (t === t) return e.indexOf(t);
                    for (r = 0; r < e.length; r += 1)
                        if (d(e[r], t)) return r;
                    return -1
                }

                function s() {}

                function u(e, t) {
                    if ("object" !== a(e)) throw TypeError();
                    if (!("[[SetData]]" in e)) throw TypeError();
                    if (e["[[SetData]]"] === P) throw TypeError();
                    var r = new s;
                    return o(r, "[[IteratedSet]]", e), o(r, "[[SetNextIndex]]", 0), o(r, "[[SetIterationKind]]", t), r
                }
                "Set" in e && !L && ! function() {
                    try {
                        return !(new e.Set).entries().next
                    } catch (t) {
                        return !0
                    }
                }() && 1 === new e.Set([1]).size || (e.Set = r);
                var l = {};
                n(r.prototype = l, "add", function(e) {
                    var r = t(this);
                    if ("object" !== a(r)) throw TypeError();
                    if (!("[[SetData]]" in r)) throw TypeError();
                    if (r["[[SetData]]"] === P) throw TypeError();
                    h(e, -0) && (e = 0);
                    var n = i(r["[[SetData]]"], e);
                    return n < 0 && (n = r["[[SetData]]"].length), r["[[SetData]]"][n] = e, r
                }), n(r.prototype, "clear", function() {
                    var e = t(this);
                    if ("object" !== a(e)) throw TypeError();
                    if (!("[[SetData]]" in e)) throw TypeError();
                    if (e["[[SetData]]"] === P) throw TypeError();
                    return e["[[SetData]]"].length = 0, P
                }), n(r.prototype, "delete", function(e) {
                    var r = t(this);
                    if ("object" !== a(r)) throw TypeError();
                    if (!("[[SetData]]" in r)) throw TypeError();
                    if (r["[[SetData]]"] === P) throw TypeError();
                    var n = r["[[SetData]]"],
                        o = i(n, e);
                    return !(o < 0) && (n[o] = ne, !0)
                }), n(r.prototype, "entries", function() {
                    var e = t(this);
                    if ("object" !== a(e)) throw TypeError();
                    return u(e, "key+value")
                }), n(r.prototype, "forEach", function(e) {
                    var r = arguments[1],
                        n = t(this);
                    if ("object" !== a(n)) throw TypeError();
                    if (!("[[SetData]]" in n)) throw TypeError();
                    if (n["[[SetData]]"] === P) throw TypeError();
                    var o = n["[[SetData]]"];
                    if (!f(e)) throw TypeError("First argument to forEach is not callable.");
                    for (var i = 0; i < o.length; ++i) o[i] !== ne && e.call(r, o[i], o[i], n)
                }), n(r.prototype, "has", function(e) {
                    var r = t(this);
                    if ("object" !== a(r)) throw TypeError();
                    if (!("[[SetData]]" in r)) throw TypeError();
                    if (r["[[SetData]]"] === P) throw TypeError();
                    return -1 !== i(r["[[SetData]]"], e)
                }), Object.defineProperty(r.prototype, "size", {
                    get: function() {
                        var e = t(this);
                        if ("object" !== a(e)) throw TypeError();
                        if (!("[[SetData]]" in e)) throw TypeError();
                        if (e["[[SetData]]"] === P) throw TypeError();
                        for (var r = e["[[SetData]]"], n = 0, o = 0; o < r.length; ++o) r[o] !== ne && (n += 1);
                        return n
                    }
                }), n(r.prototype, "values", function() {
                    var e = t(this);
                    if ("object" !== a(e)) throw TypeError();
                    return u(e, "value")
                }), r.prototype.keys = r.prototype.values, n(r.prototype, ie, function() {
                    var e = t(this);
                    if ("object" !== a(e)) throw TypeError();
                    return u(e)
                }), n(e.Set.prototype, le, "Set");
                var p = Object.create(oe);
                s.prototype = p, n(p, "next", function() {
                    var e = t(this);
                    if ("object" !== a(e)) throw TypeError();
                    for (var r = e["[[IteratedSet]]"], n = e["[[SetNextIndex]]"], i = e["[[SetIterationKind]]"], s = r["[[SetData]]"]; n < s.length;) {
                        var u = s[n];
                        if (n = n += 1, o(e, "[[SetNextIndex]]", n), u !== ne) return "key+value" === i ? T([u, u], !1) : T(u, !1)
                    }
                    return T(P, !0)
                }), n(p, le, "Set Iterator")
            }(),
            function() {
                function r() {
                    var e = t(this),
                        r = arguments[0];
                    if ("object" !== a(e)) throw TypeError();
                    if ("[[WeakMapData]]" in e) throw TypeError();
                    if (r !== P) {
                        var n = e.set;
                        if (!f(n)) throw TypeError();
                        var s = b(c(r))
                    }
                    if (o(e, "[[WeakMapData]]", new i), s === P) return e;
                    for (;;) {
                        var u = E(s);
                        if (!1 === u) return e;
                        var l = x(u);
                        if ("object" !== a(l)) throw TypeError();
                        var p = l[0],
                            h = l[1];
                        n.call(e, p, h)
                    }
                    return e
                }
                "WeakMap" in e && !L || (e.WeakMap = r);
                var s = {};
                n(r.prototype = s, "delete", function(e) {
                        var r = t(this);
                        if ("object" !== a(r)) throw TypeError();
                        if (r["[[WeakMapData]]"] === P) throw TypeError();
                        if ("object" !== a(e)) throw TypeError("Expected object");
                        return r["[[WeakMapData]]"].remove(e)
                    }), n(r.prototype, "get", function(e, r) {
                        var n = t(this);
                        if ("object" !== a(n)) throw TypeError();
                        if (n["[[WeakMapData]]"] === P) throw TypeError();
                        if ("object" !== a(e)) throw TypeError("Expected object");
                        return n["[[WeakMapData]]"].get(e, r)
                    }), n(r.prototype, "has", function(e) {
                        var r = t(this);
                        if ("object" !== a(r)) throw TypeError();
                        if (r["[[WeakMapData]]"] === P) throw TypeError();
                        if ("object" !== a(e)) throw TypeError("Expected object");
                        return r["[[WeakMapData]]"].has(e)
                    }), n(r.prototype, "set", function(e, r) {
                        var n = t(this);
                        if ("object" !== a(n)) throw TypeError();
                        if (n["[[WeakMapData]]"] === P) throw TypeError();
                        if ("object" !== a(e)) throw TypeError("Expected object");
                        return n["[[WeakMapData]]"].set(e, r), n
                    }), n(e.WeakMap.prototype, le, "WeakMap"),
                    function() {
                        var t = new e.WeakMap,
                            r = e.WeakMap.prototype.set;
                        n(e.WeakMap.prototype, "set", function() {
                            return r.apply(this, arguments), this
                        }, t.set({}, 0) !== t)
                    }()
            }(),
            function() {
                function r() {
                    var e = t(this),
                        r = arguments[0];
                    if ("object" !== a(e)) throw TypeError();
                    if ("[[WeakSetData]]" in e) throw TypeError();
                    if (r !== P) {
                        var n = e.add;
                        if (!f(n)) throw TypeError();
                        var s = b(c(r))
                    }
                    if (o(e, "[[WeakSetData]]", new i), s === P) return e;
                    for (;;) {
                        var u = E(s);
                        if (!1 === u) return e;
                        var l = x(u);
                        n.call(e, l)
                    }
                    return e
                }
                "WeakSet" in e && !L || (e.WeakSet = r);
                var s = {};
                n(r.prototype = s, "add", function(e) {
                        var r = t(this);
                        if ("object" !== a(r)) throw TypeError();
                        if (r["[[WeakSetData]]"] === P) throw TypeError();
                        if ("object" !== a(e)) throw TypeError("Expected object");
                        return r["[[WeakSetData]]"].set(e, !0), r
                    }), n(r.prototype, "delete", function(e) {
                        var r = t(this);
                        if ("object" !== a(r)) throw TypeError();
                        if (r["[[WeakSetData]]"] === P) throw TypeError();
                        if ("object" !== a(e)) throw TypeError("Expected object");
                        return r["[[WeakSetData]]"].remove(e)
                    }), n(r.prototype, "has", function(e) {
                        var r = t(this);
                        if ("object" !== a(r)) throw TypeError();
                        if (r["[[WeakSetData]]"] === P) throw TypeError();
                        if ("object" !== a(e)) throw TypeError("Expected object");
                        return r["[[WeakSetData]]"].has(e)
                    }), n(e.WeakSet.prototype, le, "WeakSet"),
                    function() {
                        var t = new e.WeakSet,
                            r = e.WeakSet.prototype.add;
                        n(e.WeakSet.prototype, "add", function() {
                            return r.apply(this, arguments), this
                        }, t.add({}) !== t)
                    }()
            }(), "ArrayBuffer" in e && (n(ArrayBuffer, "isView", function(e) {
                return "object" === a(e) && ("buffer" in e && e.buffer instanceof ArrayBuffer)
            }), n(ArrayBuffer.prototype, le, "ArrayBuffer")), "DataView" in e && n(DataView.prototype, le, "DataView"), n(JSON, le, "JSON"), n(oe, ie, function() {
                return this
            }),
            function() {
                function r(e) {
                    var t = {
                            "[[value]]": !1
                        },
                        r = s();
                    o(r, "[[Promise]]", e), o(r, "[[AlreadyResolved]]", t);
                    var n = i();
                    return o(n, "[[Promise]]", e), o(n, "[[AlreadyResolved]]", t), {
                        "[[Resolve]]": r,
                        "[[Reject]]": n
                    }
                }

                function i() {
                    var e = function(t) {
                        var r = e["[[Promise]]"],
                            n = e["[[AlreadyResolved]]"];
                        return n["[[value]]"] ? P : (o(n, "[[value]]", !0), y(r, t))
                    };
                    return e
                }

                function s() {
                    var e = function(t) {
                        var r = e["[[Promise]]"],
                            n = e["[[AlreadyResolved]]"];
                        if (n["[[value]]"]) return P;
                        if (o(n, "[[value]]", !0), h(t, r)) {
                            var i = TypeError();
                            return y(r, i)
                        }
                        if ("object" !== a(t)) return u(r, t);
                        try {
                            var s = t.then
                        } catch (s) {
                            return y(r, s)
                        }
                        return f(s) ? (S("PromiseJobs", v, [r, t, s]), P) : u(r, t)
                    };
                    return e
                }

                function u(e, t) {
                    var r = e["[[PromiseFulfillReactions]]"];
                    return o(e, "[[PromiseResult]]", t), o(e, "[[PromiseFulfillReactions]]", P), o(e, "[[PromiseRejectReactions]]", P), o(e, "[[PromiseState]]", "fulfilled"), g(r, t)
                }

                function c(e) {
                    return l(P, e)
                }

                function l(e, t) {
                    var r = {};
                    o(r, "[[Promise]]", e), o(r, "[[Resolve]]", P), o(r, "[[Reject]]", P);
                    var n = p();
                    o(n, "[[Capability]]", r);
                    var i = e = new t(n);
                    if (o(r, "[[Promise]]", e), !f(r["[[Resolve]]"])) throw TypeError();
                    if (!f(r["[[Reject]]"])) throw TypeError();
                    if ("object" === a(i) && !h(e, i)) throw TypeError();
                    return r
                }

                function p() {
                    var e = function(t, r) {
                        var n = e["[[Capability]]"];
                        if (n["[[Resolve]]"] !== P) throw TypeError();
                        if (n["[[Reject]]"] !== P) throw TypeError();
                        return o(n, "[[Resolve]]", t), o(n, "[[Reject]]", r), P
                    };
                    return e
                }

                function d(e) {
                    return "object" === a(e) && ("[[PromiseState]]" in e && e["[[PromiseState]]"] !== P)
                }

                function y(e, t) {
                    var r = e["[[PromiseRejectReactions]]"];
                    return o(e, "[[PromiseResult]]", t), o(e, "[[PromiseFulfillReactions]]", P), o(e, "[[PromiseRejectReactions]]", P), o(e, "[[PromiseState]]", "rejected"), g(r, t)
                }

                function g(e, t) {
                    for (var r = 0, n = e.length; r < n; ++r) S("PromiseJobs", m, [e[r], t]);
                    return P
                }

                function m(e, t) {
                    var r, n, o = e["[[Capabilities]]"],
                        i = e["[[Handler]]"];
                    try {
                        if ("Identity" === i) r = t;
                        else {
                            if ("Thrower" === i) throw t;
                            r = i.call(P, t)
                        }
                    } catch (r) {
                        return n = o["[[Reject]]"].call(P, r), void _(n)
                    }
                    _(n = o["[[Resolve]]"].call(P, r))
                }

                function v(e, t, n) {
                    var o = r(e);
                    try {
                        var i = n.call(t, o["[[Resolve]]"], o["[[Reject]]"])
                    } catch (i) {
                        return void _(o["[[Reject]]"].call(P, i))
                    }
                    _(i)
                }

                function w(e) {
                    var t = {
                        configurable: !1,
                        enumerable: !1,
                        writable: !0,
                        value: P
                    };
                    Object.defineProperty(this, "[[PromiseState]]", t), Object.defineProperty(this, "[[PromiseConstructor]]", t), Object.defineProperty(this, "[[PromiseResult]]", t), Object.defineProperty(this, "[[PromiseFulfillReactions]]", t), Object.defineProperty(this, "[[PromiseRejectReactions]]", t);
                    var r = this;
                    if ("object" !== a(r)) throw new TypeError;
                    if (!("[[PromiseState]]" in r)) throw TypeError();
                    if (r["[[PromiseState]]"] !== P) throw TypeError();
                    if (!f(e)) throw TypeError();
                    return o(r, "[[PromiseConstructor]]", w), T(r, e)
                }

                function T(e, t) {
                    o(e, "[[PromiseState]]", "pending"), o(e, "[[PromiseFulfillReactions]]", []), o(e, "[[PromiseRejectReactions]]", []);
                    var n = r(e);
                    try {
                        var i = t.call(P, n["[[Resolve]]"], n["[[Reject]]"])
                    } catch (i) {
                        n["[[Reject]]"].call(P, i)
                    }
                    return e
                }

                function j() {
                    var e = function(t) {
                        var r = e["[[AlreadyCalled]]"];
                        if (r.value) return P;
                        r.value = !0;
                        var n = e["[[Index]]"],
                            o = e["[[Values]]"],
                            i = e["[[Capabilities]]"],
                            a = e["[[RemainingElements]]"];
                        try {
                            o[n] = t
                        } catch (s) {
                            return i["[[Reject]]"].call(P, s), i["[[Promise]]"]
                        }
                        return a.value -= 1, 0 === a.value ? i["[[Resolve]]"].call(P, o) : P
                    };
                    return e
                }
                n(w, "all", function(e) {
                    var r = t(this),
                        n = c(r);
                    try {
                        var i = b(e)
                    } catch (d) {
                        return n["[[Reject]]"].call(P, d), n["[[Promise]]"]
                    }
                    for (var a = [], s = {
                            value: 1
                        }, u = 0;;) {
                        try {
                            var l = E(i)
                        } catch (d) {
                            return n["[[Reject]]"].call(P, d), n["[[Promise]]"]
                        }
                        if (!l) {
                            if (s.value -= 1, 0 === s.value) n["[[Resolve]]"].apply(P, a);
                            return n["[[Promise]]"]
                        }
                        try {
                            var f = x(l)
                        } catch (d) {
                            return n["[[Reject]]"].call(P, d), n["[[Promise]]"]
                        }
                        try {
                            var p = r.resolve(f)
                        } catch (d) {
                            return n["[[Reject]]"].call(P, d), n["[[Promise]]"]
                        }
                        var h = j();
                        o(h, "[[AlreadyCalled]]", {
                            value: !1
                        }), o(h, "[[Index]]", u), o(h, "[[Values]]", a), o(h, "[[Capabilities]]", n), o(h, "[[RemainingElements]]", s), s.value += 1;
                        try {
                            p.then(h, n["[[Reject]]"])
                        } catch (d) {
                            return n["[[Reject]]"].call(P, d), n["[[Promise]]"]
                        }
                        u += 1
                    }
                }), w.prototype = {}, n(w, "race", function(e) {
                    var r = t(this),
                        n = c(r);
                    try {
                        var o = b(e)
                    } catch (u) {
                        return n["[[Reject]]"].call(P, u), n["[[Promise]]"]
                    }
                    for (;;) {
                        try {
                            var i = E(o)
                        } catch (u) {
                            return n["[[Reject]]"].call(P, u), n["[[Promise]]"]
                        }
                        if (!i) return n["[[Promise]]"];
                        try {
                            var a = x(i)
                        } catch (u) {
                            return n["[[Reject]]"].call(P, u), n["[[Promise]]"]
                        }
                        try {
                            var s = r.resolve(a)
                        } catch (u) {
                            return n["[[Reject]]"].call(P, u), n["[[Promise]]"]
                        }
                        try {
                            s.then(n["[[Resolve]]"], n["[[Reject]]"])
                        } catch (u) {
                            return n["[[Reject]]"].call(P, u), n["[[Promise]]"]
                        }
                    }
                }), n(w, "reject", function(e) {
                    var r = c(t(this));
                    r["[[Reject]]"].call(P, e);
                    return r["[[Promise]]"]
                }), n(w, "resolve", function(e) {
                    var r = t(this);
                    if (d(e) && h(e["[[PromiseConstructor]]"], r)) return e;
                    var n = c(r);
                    n["[[Resolve]]"].call(P, e);
                    return n["[[Promise]]"]
                }), n(w.prototype, "catch", function(e) {
                    return this.then(P, e)
                }), w.prototype.constructor = w, n(w.prototype, "then", function(e, t) {
                    var r = this;
                    if (!d(r)) throw TypeError();
                    f(e) || (e = "Identity"), f(t) || (t = "Thrower");
                    var n = c(r.constructor),
                        o = {
                            "[[Capabilities]]": n,
                            "[[Handler]]": e
                        },
                        i = {
                            "[[Capabilities]]": n,
                            "[[Handler]]": t
                        };
                    return "pending" === r["[[PromiseState]]"] ? (r["[[PromiseFulfillReactions]]"].push(o), r["[[PromiseRejectReactions]]"].push(i)) : "fulfilled" === r["[[PromiseState]]"] ? S("PromiseJobs", m, [o, r["[[PromiseResult]]"]]) : "rejected" === r["[[PromiseState]]"] && S("PromiseJobs", m, [i, r["[[PromiseResult]]"]]), n["[[Promise]]"]
                }), "Promise" in e && !L || (e.Promise = w), "cast" in e.Promise && (e.Promise.resolve = e.Promise.cast)
            }(), n(Promise.prototype, le, "Promise"), "Reflect" in e && !L || (e.Reflect = {}), n(Reflect, "apply", function(e, t, r) {
                if (!f(e)) throw TypeError();
                return Function.prototype.apply.call(e, t, r)
            }), n(Reflect, "construct", function(e, t) {
                return __cons(e, t)
            }), n(Reflect, "defineProperty", function(e, t, r) {
                try {
                    return Object.defineProperty(e, t, r), !0
                } catch (n) {
                    return !1
                }
            }), n(Reflect, "deleteProperty", function(e, t) {
                try {
                    return delete e[t], !v(e, t)
                } catch (r) {
                    return !1
                }
            }), n(Reflect, "enumerate", function(e) {
                return j(e = c(e))
            }), n(Reflect, "get", function(e, t, n) {
                e = c(e), t = String(t), n = n === P ? e : c(n);
                var o = r(e, t);
                return o && "get" in o ? Function.prototype.call.call(o.get, n) : e[t]
            }), n(Reflect, "getOwnPropertyDescriptor", Object.getOwnPropertyDescriptor), n(Reflect, "getPrototypeOf", Object.getPrototypeOf), n(Reflect, "has", function(e, t) {
                return String(t) in c(e)
            }), n(Reflect, "isExtensible", Object.isExtensible), n(Reflect, "ownKeys", function(e) {
                var t = c(e);
                return Object.getOwnPropertyNames(t)
            }), n(Reflect, "preventExtensions", function(e) {
                try {
                    return Object.preventExtensions(e), !0
                } catch (t) {
                    return !1
                }
            }), n(Reflect, "set", function(e, t, n, o) {
                e = c(e), t = String(t), o = o === P ? e : c(o);
                var i = r(e, t);
                try {
                    return i && "set" in i ? Function.prototype.call.call(i.set, o, n) : e[t] = n, !0
                } catch (a) {
                    return !1
                }
            }), n(Reflect, "setPrototypeOf", function(e, t) {
                try {
                    return e.__proto__ = t, Reflect.getPrototypeOf(e) === t
                } catch (r) {
                    return !1
                }
            })
    }(self),
    function(e) {
        "use strict";

        function t(e) {
            return e = Number(e), a(e) ? 0 : 0 === e || e === Infinity || e === -Infinity ? e : (e < 0 ? -1 : 1) * u(s(e))
        }

        function r(e) {
            if (null === e || e === i) throw TypeError();
            return Object(e)
        }

        function n(e) {
            var r = t(e);
            return r <= 0 ? 0 : c(r, 9007199254740991)
        }

        function o(e, t) {
            if (typeof e != typeof t) return !1;
            switch (typeof e) {
                case "undefined":
                    return !0;
                case "number":
                    return e !== e && t !== t || e === t;
                case "boolean":
                case "string":
                case "object":
                default:
                    return e === t
            }
        }
        var i = void 0,
            a = e.isNaN,
            s = Math.abs,
            u = Math.floor,
            c = (Math.max, Math.min);
        ! function(e, t, r, n) {
            if (!(t in e) || n) try {
                "function" == typeof r ? Object.defineProperty(e, t, {
                    value: r,
                    configurable: !0,
                    enumerable: !1,
                    writable: !0
                }) : Object.defineProperty(e, t, {
                    value: r,
                    configurable: !1,
                    enumerable: !1,
                    writable: !1
                })
            } catch (o) {}
        }(Array.prototype, "includes", function(e) {
            var i = arguments[1],
                a = r(this),
                s = n(a.length);
            if (0 === s) return !1;
            var u = t(i);
            if (u >= 0) var c = u;
            else(c = s + u) < 0 && (c = 0);
            for (; c < s;) {
                a[c];
                if (o(a[c], e)) return !0;
                c += 1
            }
            return !1
        })
    }(this),
    function(e) {
        "use strict";
        "window" in e && "document" in e && ("head" in document || (document.head = document.getElementsByTagName("head")[0]), ["abbr", "article", "aside", "audio", "bdi", "canvas", "data", "datalist", "details", "dialog", "figcaption", "figure", "footer", "header", "hgroup", "main", "mark", "meter", "nav", "output", "picture", "progress", "section", "summary", "template", "time", "video"].forEach(function(e) {
            document.createElement(e)
        }), !("dataset" in document.createElement("span")) && "Element" in e && Element.prototype && Object.defineProperty && Object.defineProperty(Element.prototype, "dataset", {
            get: function() {
                for (var e = Object.create(null), t = 0; t < this.attributes.length; ++t) {
                    var r = this.attributes[t];
                    r.specified && "data-" === r.name.substring(0, 5) && function(t, r) {
                        var n = r.replace(/-([a-z])/g, function(e, t) {
                            return t.toUpperCase()
                        });
                        e[n] = t.getAttribute("data-" + r), Object.defineProperty(e, n, {
                            get: function() {
                                return t.getAttribute("data-" + r)
                            },
                            set: function(e) {
                                t.setAttribute("data-" + r, e)
                            }
                        })
                    }(this, r.name.substring(5))
                }
                return e
            }
        }), function() {
            if (!("atob" in e && "btoa" in e)) {
                var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
                e.atob = function(e) {
                    var r = 0,
                        n = [],
                        o = 0,
                        i = 0;
                    if ((e = (e = String(e)).replace(/\s/g, "")).length % 4 == 0 && (e = e.replace(/=+$/, "")), e.length % 4 == 1) throw Error("InvalidCharacterError");
                    if (/[^+/0-9A-Za-z]/.test(e)) throw Error("InvalidCharacterError");
                    for (; r < e.length;) o = o << 6 | t.indexOf(e.charAt(r)), 24 === (i += 6) && (n.push(String.fromCharCode(o >> 16 & 255)), n.push(String.fromCharCode(o >> 8 & 255)), n.push(String.fromCharCode(255 & o)), i = 0, o = 0), r += 1;
                    return 12 === i ? (o >>= 4, n.push(String.fromCharCode(255 & o))) : 18 === i && (o >>= 2, n.push(String.fromCharCode(o >> 8 & 255)), n.push(String.fromCharCode(255 & o))), n.join("")
                }, e.btoa = function(e) {
                    e = String(e);
                    var r, n, o, i, a, s, u, c = 0,
                        l = [];
                    if (/[^\x00-\xFF]/.test(e)) throw Error("InvalidCharacterError");
                    for (; c < e.length;) i = (r = e.charCodeAt(c++)) >> 2, a = (3 & r) << 4 | (n = e.charCodeAt(c++)) >> 4, s = (15 & n) << 2 | (o = e.charCodeAt(c++)) >> 6, u = 63 & o, c === e.length + 2 ? (s = 64, u = 64) : c === e.length + 1 && (u = 64), l.push(t.charAt(i), t.charAt(a), t.charAt(s), t.charAt(u));
                    return l.join("")
                }
            }
        }(), function() {
            function t(e) {
                return e.offsetWidth > 0 && e.offsetHeight > 0
            }

            function r() {
                var e = o;
                o = Object.create(null), a = -1, Object.keys(e).forEach(function(r) {
                    var n = e[r];
                    n.element && !t(n.element) || n.callback(Date.now())
                })
            }
            if (!("requestAnimationFrame" in e)) {
                var n = 60,
                    o = Object.create(null),
                    i = 0,
                    a = -1;
                e.requestAnimationFrame = function(t, s) {
                    var u = ++i;
                    return o[u] = {
                        callback: t,
                        element: s
                    }, -1 === a && (a = e.setTimeout(r, 1e3 / n)), u
                }, e.cancelAnimationFrame = function(t) {
                    delete o[t], 0 === Object.keys(o).length && (e.clearTimeout(a), a = -1)
                }
            }
        }())
    }(self),
    function(e) {
        "use strict";

        function t(e, t) {
            e && Object.keys(t).forEach(function(r) {
                if (!(r in e || r in e.prototype)) try {
                    Object.defineProperty(e.prototype, r, Object.getOwnPropertyDescriptor(t, r))
                } catch (n) {
                    e[r] = t[r]
                }
            })
        }

        function r(e) {
            var t = null;
            return 1 === (e = e.map(function(e) {
                return e instanceof Node ? e : document.createTextNode(e)
            })).length ? t = e[0] : (t = document.createDocumentFragment(), e.forEach(function(e) {
                t.appendChild(e)
            })), t
        }
        if ("window" in e && "document" in e) {
            document.querySelectorAll || (document.querySelectorAll = function(e) {
                    var t, r = document.createElement("style"),
                        n = [];
                    for (document.documentElement.firstChild.appendChild(r), document._qsa = [], r.styleSheet.cssText = e + "{x-qsa:expression(document._qsa && document._qsa.push(this))}", window.scrollBy(0, 0), r.parentNode.removeChild(r); document._qsa.length;)(t = document._qsa.shift()).style.removeAttribute("x-qsa"), n.push(t);
                    return document._qsa = null, n
                }), document.querySelector || (document.querySelector = function(e) {
                    var t = document.querySelectorAll(e);
                    return t.length ? t[0] : null
                }), document.getElementsByClassName || (document.getElementsByClassName = function(e) {
                    return e = String(e).replace(/^|\s+/g, "."), document.querySelectorAll(e)
                }), e.Node = e.Node || function() {
                    throw TypeError("Illegal constructor")
                }, [
                    ["ELEMENT_NODE", 1],
                    ["ATTRIBUTE_NODE", 2],
                    ["TEXT_NODE", 3],
                    ["CDATA_SECTION_NODE", 4],
                    ["ENTITY_REFERENCE_NODE", 5],
                    ["ENTITY_NODE", 6],
                    ["PROCESSING_INSTRUCTION_NODE", 7],
                    ["COMMENT_NODE", 8],
                    ["DOCUMENT_NODE", 9],
                    ["DOCUMENT_TYPE_NODE", 10],
                    ["DOCUMENT_FRAGMENT_NODE", 11],
                    ["NOTATION_NODE", 12]
                ].forEach(function(t) {
                    t[0] in e.Node || (e.Node[t[0]] = t[1])
                }), e.DOMException = e.DOMException || function() {
                    throw TypeError("Illegal constructor")
                }, [
                    ["INDEX_SIZE_ERR", 1],
                    ["DOMSTRING_SIZE_ERR", 2],
                    ["HIERARCHY_REQUEST_ERR", 3],
                    ["WRONG_DOCUMENT_ERR", 4],
                    ["INVALID_CHARACTER_ERR", 5],
                    ["NO_DATA_ALLOWED_ERR", 6],
                    ["NO_MODIFICATION_ALLOWED_ERR", 7],
                    ["NOT_FOUND_ERR", 8],
                    ["NOT_SUPPORTED_ERR", 9],
                    ["INUSE_ATTRIBUTE_ERR", 10],
                    ["INVALID_STATE_ERR", 11],
                    ["SYNTAX_ERR", 12],
                    ["INVALID_MODIFICATION_ERR", 13],
                    ["NAMESPACE_ERR", 14],
                    ["INVALID_ACCESS_ERR", 15]
                ].forEach(function(t) {
                    t[0] in e.DOMException || (e.DOMException[t[0]] = t[1])
                }),
                function() {
                    function t(e, t, r) {
                        if ("function" == typeof t) {
                            "DOMContentLoaded" === e && (e = "load");
                            var n = this,
                                o = function(e) {
                                    e._timeStamp = Date.now(), e._currentTarget = n, t.call(this, e), e._currentTarget = null
                                };
                            this["_" + e + t] = o, this.attachEvent("on" + e, o)
                        }
                    }

                    function r(e, t, r) {
                        if ("function" == typeof t) {
                            "DOMContentLoaded" === e && (e = "load");
                            var n = this["_" + e + t];
                            n && (this.detachEvent("on" + e, n), this["_" + e + t] = null)
                        }
                    }
                    "Element" in e && !Element.prototype.addEventListener && Object.defineProperty && (Event.CAPTURING_PHASE = 1, Event.AT_TARGET = 2, Event.BUBBLING_PHASE = 3, Object.defineProperties(Event.prototype, {
                        CAPTURING_PHASE: {
                            get: function() {
                                return 1
                            }
                        },
                        AT_TARGET: {
                            get: function() {
                                return 2
                            }
                        },
                        BUBBLING_PHASE: {
                            get: function() {
                                return 3
                            }
                        },
                        target: {
                            get: function() {
                                return this.srcElement
                            }
                        },
                        currentTarget: {
                            get: function() {
                                return this._currentTarget
                            }
                        },
                        eventPhase: {
                            get: function() {
                                return this.srcElement === this.currentTarget ? Event.AT_TARGET : Event.BUBBLING_PHASE
                            }
                        },
                        bubbles: {
                            get: function() {
                                switch (this.type) {
                                    case "click":
                                    case "dblclick":
                                    case "mousedown":
                                    case "mouseup":
                                    case "mouseover":
                                    case "mousemove":
                                    case "mouseout":
                                    case "mousewheel":
                                    case "keydown":
                                    case "keypress":
                                    case "keyup":
                                    case "resize":
                                    case "scroll":
                                    case "select":
                                    case "change":
                                    case "submit":
                                    case "reset":
                                        return !0
                                }
                                return !1
                            }
                        },
                        cancelable: {
                            get: function() {
                                switch (this.type) {
                                    case "click":
                                    case "dblclick":
                                    case "mousedown":
                                    case "mouseup":
                                    case "mouseover":
                                    case "mouseout":
                                    case "mousewheel":
                                    case "keydown":
                                    case "keypress":
                                    case "keyup":
                                    case "submit":
                                        return !0
                                }
                                return !1
                            }
                        },
                        timeStamp: {
                            get: function() {
                                return this._timeStamp
                            }
                        },
                        stopPropagation: {
                            value: function() {
                                this.cancelBubble = !0
                            }
                        },
                        preventDefault: {
                            value: function() {
                                this.returnValue = !1
                            }
                        },
                        defaultPrevented: {
                            get: function() {
                                return !1 === this.returnValue
                            }
                        }
                    }), [Window, HTMLDocument, Element].forEach(function(e) {
                        e.prototype.addEventListener = t, e.prototype.removeEventListener = r
                    }))
                }(),
                function() {
                    function t(e, t) {
                        t = t || {
                            bubbles: !1,
                            cancelable: !1,
                            detail: undefined
                        };
                        var r = document.createEvent("CustomEvent");
                        return r.initCustomEvent(e, t.bubbles, t.cancelable, t.detail), r
                    }
                    "CustomEvent" in e && "function" == typeof e.CustomEvent || (t.prototype = e.Event.prototype, e.CustomEvent = t)
                }(), window.addEvent = function(e, t, r) {
                    e.addEventListener ? e.addEventListener(t, r, !1) : e.attachEvent && (e["e" + t + r] = r, e[t + r] = function() {
                        var n = window.event;
                        n.currentTarget = e, n.preventDefault = function() {
                            n.returnValue = !1
                        }, n.stopPropagation = function() {
                            n.cancelBubble = !0
                        }, n.target = n.srcElement, n.timeStamp = Date.now(), e["e" + t + r].call(this, n)
                    }, e.attachEvent("on" + t, e[t + r]))
                }, window.removeEvent = function(e, t, r) {
                    e.removeEventListener ? e.removeEventListener(t, r, !1) : e.detachEvent && (e.detachEvent("on" + t, e[t + r]), e[t + r] = null, e["e" + t + r] = null)
                },
                function() {
                    function t(e, t) {
                        function r(e) {
                            return e.length ? e.split(/\s+/g) : []
                        }

                        function n(e, t) {
                            var n = r(t),
                                o = n.indexOf(e);
                            return -1 !== o && n.splice(o, 1), n.join(" ")
                        }
                        if (Object.defineProperties(this, {
                                length: {
                                    get: function() {
                                        return r(e[t]).length
                                    }
                                },
                                item: {
                                    value: function(n) {
                                        var o = r(e[t]);
                                        return 0 <= n && n < o.length ? o[n] : null
                                    }
                                },
                                contains: {
                                    value: function(n) {
                                        if (0 === (n = String(n)).length) throw SyntaxError();
                                        if (/\s/.test(n)) throw Error("InvalidCharacterError");
                                        return -1 !== r(e[t]).indexOf(n)
                                    }
                                },
                                add: {
                                    value: function() {
                                        var n = Array.prototype.slice.call(arguments).map(String);
                                        if (n.some(function(e) {
                                                return 0 === e.length
                                            })) throw SyntaxError();
                                        if (n.some(function(e) {
                                                return /\s/.test(e)
                                            })) throw Error("InvalidCharacterError");
                                        try {
                                            var o = e[t],
                                                i = r(o);
                                            if (0 === (n = n.filter(function(e) {
                                                    return -1 === i.indexOf(e)
                                                })).length) return;
                                            0 === o.length || /\s$/.test(o) || (o += " "), o += n.join(" "), e[t] = o
                                        } finally {
                                            var a = r(e[t]).length;
                                            this.length !== a && (this.length = a)
                                        }
                                    }
                                },
                                remove: {
                                    value: function() {
                                        var o = Array.prototype.slice.call(arguments).map(String);
                                        if (o.some(function(e) {
                                                return 0 === e.length
                                            })) throw SyntaxError();
                                        if (o.some(function(e) {
                                                return /\s/.test(e)
                                            })) throw Error("InvalidCharacterError");
                                        try {
                                            var i = e[t];
                                            o.forEach(function(e) {
                                                i = n(e, i)
                                            }), e[t] = i
                                        } finally {
                                            var a = r(e[t]).length;
                                            this.length !== a && (this.length = a)
                                        }
                                    }
                                },
                                toggle: {
                                    value: function(o) {
                                        var i = arguments[1];
                                        try {
                                            if (0 === (o = String(o)).length) throw SyntaxError();
                                            if (/\s/.test(o)) throw Error("InvalidCharacterError");
                                            var a = r(e[t]).indexOf(o);
                                            if (-1 !== a && (!i || void 0 === i)) return e[t] = n(o, e[t]), !1;
                                            if (-1 !== a && i) return !0;
                                            var s = e[t];
                                            return 0 === s.length || /\s$/.test(s) || (s += " "), s += o, e[t] = s, !0
                                        } finally {
                                            var u = r(e[t]).length;
                                            this.length !== u && (this.length = u)
                                        }
                                    }
                                },
                                toString: {
                                    value: function() {
                                        return e[t]
                                    }
                                }
                            }), "length" in this)
                            for (var o = 0; o < 100; ++o) Object.defineProperty(this, String(o), {
                                get: function(e) {
                                    return function() {
                                        return this.item(e)
                                    }
                                }(o)
                            });
                        else this.length = r(e[t]).length
                    }

                    function r(t, r) {
                        "Element" in e && Element.prototype && Object.defineProperty && Object.defineProperty(Element.prototype, t, {
                            get: r
                        })
                    }
                    "classList" in document.createElement("span") ? window.getClassList = function(e) {
                            return e.classList
                        } : (window.getClassList = function(e) {
                            return new t(e, "className")
                        }, r("classList", function() {
                            return new t(this, "className")
                        })), "relList" in document.createElement("link") ? window.getRelList = function(e) {
                            return e.relList
                        } : (window.getRelList = function(e) {
                            return new t(e, "rel")
                        }, r("relList", function() {
                            return new t(this, "rel")
                        })),
                        function() {
                            if ("DOMTokenList" in e) {
                                var t = document.createElement("span");
                                "classList" in t && (t.classList.toggle("x", !1), t.classList.contains("x") && (e.DOMTokenList.prototype.toggle = function(e) {
                                    var t = arguments[1];
                                    if (t === undefined) {
                                        var r = !this.contains(e);
                                        return this[r ? "add" : "remove"](e), r
                                    }
                                    return t = !!t, this[t ? "add" : "remove"](e), t
                                }))
                            }
                        }(), "previousElementSibling" in document.documentElement || r("previousElementSibling", function() {
                            for (var e = this.previousSibling; e && e.nodeType !== Node.ELEMENT_NODE;) e = e.previousSibling;
                            return e
                        }), "nextElementSibling" in document.documentElement || r("nextElementSibling", function() {
                            for (var e = this.nextSibling; e && e.nodeType !== Node.ELEMENT_NODE;) e = e.nextSibling;
                            return e
                        })
                }(), "Element" in e && !Element.prototype.matches && (Element.prototype.msMatchesSelector ? Element.prototype.matches = Element.prototype.msMatchesSelector : Element.prototype.oMatchesSelector ? Element.prototype.matches = Element.prototype.oMatchesSelector : Element.prototype.mozMatchesSelector ? Element.prototype.matches = Element.prototype.mozMatchesSelector : Element.prototype.webkitMatchesSelector ? Element.prototype.matches = Element.prototype.webkitMatchesSelector : document.querySelectorAll && (Element.prototype.matches = function(e) {
                    for (var t = (this.document || this.ownerDocument).querySelectorAll(e), r = t.length; --r >= 0 && t.item(r) !== this;);
                    return r > -1
                })), window.Element && !Element.prototype.closest && (Element.prototype.closest = function(e) {
                    var t, r = (this.document || this.ownerDocument).querySelectorAll(e),
                        n = this;
                    do {
                        for (t = r.length; --t >= 0 && r.item(t) !== n;);
                    } while (t < 0 && (n = n.parentElement));
                    return n
                });
            var n = {
                prepend: function() {
                    var e = [].slice.call(arguments);
                    e = r(e), this.insertBefore(e, this.firstChild)
                },
                append: function() {
                    var e = [].slice.call(arguments);
                    e = r(e), this.appendChild(e)
                }
            };
            t(e.Document || e.HTMLDocument, n), t(e.DocumentFragment, n), t(e.Element, n);
            var o = {
                before: function() {
                    var e = [].slice.call(arguments),
                        t = this.parentNode;
                    if (t) {
                        for (var n = this.previousSibling; - 1 !== e.indexOf(n);) n = n.previousSibling;
                        var o = r(e);
                        t.insertBefore(o, n ? n.nextSibling : t.firstChild)
                    }
                },
                after: function() {
                    var e = [].slice.call(arguments),
                        t = this.parentNode;
                    if (t) {
                        for (var n = this.nextSibling; - 1 !== e.indexOf(n);) n = n.nextSibling;
                        var o = r(e);
                        t.insertBefore(o, n)
                    }
                },
                replaceWith: function() {
                    var e = [].slice.call(arguments),
                        t = this.parentNode;
                    if (t) {
                        for (var n = this.nextSibling; - 1 !== e.indexOf(n);) n = n.nextSibling;
                        var o = r(e);
                        this.parentNode === t ? t.replaceChild(o, this) : t.insertBefore(o, n)
                    }
                },
                remove: function() {
                    this.parentNode && this.parentNode.removeChild(this)
                }
            };
            t(e.DocumentType, o), t(e.Element, o), t(e.CharacterData, o)
        }
    }(self),
    function(e) {
        "use strict";
        "window" in e && "document" in e && (e.XMLHttpRequest = e.XMLHttpRequest || function() {
            try {
                return new ActiveXObject("Msxml2.XMLHTTP.6.0")
            } catch (e) {}
            try {
                return new ActiveXObject("Msxml2.XMLHTTP.3.0")
            } catch (e) {}
            try {
                return new ActiveXObject("Msxml2.XMLHTTP")
            } catch (e) {}
            throw Error("This browser does not support XMLHttpRequest.")
        }, [
            ["UNSENT", 0],
            ["OPENED", 1],
            ["HEADERS_RECEIVED", 2],
            ["LOADING", 3],
            ["DONE", 4]
        ].forEach(function(t) {
            t[0] in e.XMLHttpRequest || (e.XMLHttpRequest[t[0]] = t[1])
        }), function() {
            function t(e) {
                if (this._data = [], e)
                    for (var t = 0; t < e.elements.length; ++t) {
                        var r = e.elements[t];
                        "" !== r.name && this.append(r.name, r.value)
                    }
            }
            if (!("FormData" in e)) {
                t.prototype = {
                    append: function(t, r) {
                        if ("Blob" in e && r instanceof e.Blob) throw TypeError("Blob not supported");
                        t = String(t), this._data.push([t, r])
                    },
                    toString: function() {
                        return this._data.map(function(e) {
                            return encodeURIComponent(e[0]) + "=" + encodeURIComponent(e[1])
                        }).join("&")
                    }
                }, e.FormData = t;
                var r = e.XMLHttpRequest.prototype.send;
                e.XMLHttpRequest.prototype.send = function(e) {
                    return e instanceof t && (this.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), arguments[0] = e.toString()), r.apply(this, arguments)
                }
            }
        }())
    }(self),
    function(e) {
        "use strict";
        "window" in e && "document" in e && "TextRectangle" in e && !("width" in e.TextRectangle.prototype) && Object.defineProperties(e.TextRectangle.prototype, {
            width: {
                get: function() {
                    return this.right - this.left
                }
            },
            height: {
                get: function() {
                    return this.bottom - this.top
                }
            }
        })
    }(self),
    function(e) {
        "use strict";

        function t(t) {
            return !!t && ("Symbol" in e && "iterator" in e.Symbol && "function" == typeof t[Symbol.iterator] || !!Array.isArray(t))
        }

        function r(e) {
            return "from" in Array ? Array.from(e) : Array.prototype.slice.call(e)
        }! function() {
            function n(e) {
                var t = "",
                    r = !0;
                return e.forEach(function(e) {
                    var n = encodeURIComponent(e.name),
                        o = encodeURIComponent(e.value);
                    r || (t += "&"), t += n + "=" + o, r = !1
                }), t.replace(/%20/g, "+")
            }

            function o(e, t) {
                var r = e.split("&");
                t && -1 === r[0].indexOf("=") && (r[0] = "=" + r[0]);
                var n = [];
                r.forEach(function(e) {
                    if (0 !== e.length) {
                        var t = e.indexOf("=");
                        if (-1 !== t) var r = e.substring(0, t),
                            o = e.substring(t + 1);
                        else r = e, o = "";
                        r = r.replace(/\+/g, " "), o = o.replace(/\+/g, " "), n.push({
                            name: r,
                            value: o
                        })
                    }
                });
                var o = [];
                return n.forEach(function(e) {
                    o.push({
                        name: decodeURIComponent(e.name),
                        value: decodeURIComponent(e.value)
                    })
                }), o
            }

            function i(e) {
                if (c) return new l(e);
                var t = document.createElement("a");
                return t.href = e, t
            }

            function a(e) {
                var i = this;
                this._list = [], e === undefined || null === e || (e instanceof a ? this._list = o(String(e)) : "object" == typeof e && t(e) ? r(e).forEach(function(e) {
                    if (!t(e)) throw TypeError();
                    var n = r(e);
                    if (2 !== n.length) throw TypeError();
                    i._list.push({
                        name: String(n[0]),
                        value: String(n[1])
                    })
                }) : "object" == typeof e && e ? Object.keys(e).forEach(function(t) {
                    i._list.push({
                        name: String(t),
                        value: String(e[t])
                    })
                }) : ("?" === (e = String(e)).substring(0, 1) && (e = e.substring(1)), this._list = o(e))), this._url_object = null, this._setList = function(e) {
                    s || (i._list = e)
                };
                var s = !1;
                this._update_steps = function() {
                    s || (s = !0, i._url_object && ("about:" === i._url_object.protocol && -1 !== i._url_object.pathname.indexOf("?") && (i._url_object.pathname = i._url_object.pathname.split("?")[0]), i._url_object.search = n(i._list), s = !1))
                }
            }

            function s(e, t) {
                var r = 0;
                this.next = function() {
                    if (r >= e.length) return {
                        done: !0,
                        value: undefined
                    };
                    var n = e[r++];
                    return {
                        done: !1,
                        value: "key" === t ? n.name : "value" === t ? n.value : [n.name, n.value]
                    }
                }
            }

            function u(t, r) {
                function n() {
                    var e = u.href.replace(/#$|\?$|\?(?=#)/g, "");
                    u.href !== e && (u.href = e)
                }

                function s() {
                    p._setList(u.search ? o(u.search.substring(1)) : []), p._update_steps()
                }
                if (!(this instanceof e.URL)) throw new TypeError("Failed to construct 'URL': Please use the 'new' operator.");
                r && (t = function() {
                    if (c) return new l(t, r).href;
                    var e;
                    if (document.implementation && document.implementation.createHTMLDocument ? e = document.implementation.createHTMLDocument("") : document.implementation && document.implementation.createDocument ? ((e = document.implementation.createDocument("http://www.w3.org/1999/xhtml", "html", null)).documentElement.appendChild(e.createElement("head")), e.documentElement.appendChild(e.createElement("body"))) : window.ActiveXObject && ((e = new window.ActiveXObject("htmlfile")).write("<head></head><body></body>"), e.close()), !e) throw Error("base not supported");
                    var n = e.createElement("base");
                    n.href = r, e.getElementsByTagName("head")[0].appendChild(n);
                    var o = e.createElement("a");
                    return o.href = t, o.href
                }());
                var u = i(t || ""),
                    f = function() {
                        if (!("defineProperties" in Object)) return !1;
                        try {
                            var e = {};
                            return Object.defineProperties(e, {
                                prop: {
                                    get: function() {
                                        return !0
                                    }
                                }
                            }), e.prop
                        } catch (t) {
                            return !1
                        }
                    }() ? this : document.createElement("a"),
                    p = new a(u.search ? u.search.substring(1) : null);
                return p._url_object = f, Object.defineProperties(f, {
                    href: {
                        get: function() {
                            return u.href
                        },
                        set: function(e) {
                            u.href = e, n(), s()
                        },
                        enumerable: !0,
                        configurable: !0
                    },
                    origin: {
                        get: function() {
                            return "origin" in u ? u.origin : this.protocol + "//" + this.host
                        },
                        enumerable: !0,
                        configurable: !0
                    },
                    protocol: {
                        get: function() {
                            return u.protocol
                        },
                        set: function(e) {
                            u.protocol = e
                        },
                        enumerable: !0,
                        configurable: !0
                    },
                    username: {
                        get: function() {
                            return u.username
                        },
                        set: function(e) {
                            u.username = e
                        },
                        enumerable: !0,
                        configurable: !0
                    },
                    password: {
                        get: function() {
                            return u.password
                        },
                        set: function(e) {
                            u.password = e
                        },
                        enumerable: !0,
                        configurable: !0
                    },
                    host: {
                        get: function() {
                            var e = {
                                "http:": /:80$/,
                                "https:": /:443$/,
                                "ftp:": /:21$/
                            }[u.protocol];
                            return e ? u.host.replace(e, "") : u.host
                        },
                        set: function(e) {
                            u.host = e
                        },
                        enumerable: !0,
                        configurable: !0
                    },
                    hostname: {
                        get: function() {
                            return u.hostname
                        },
                        set: function(e) {
                            u.hostname = e
                        },
                        enumerable: !0,
                        configurable: !0
                    },
                    port: {
                        get: function() {
                            return u.port
                        },
                        set: function(e) {
                            u.port = e
                        },
                        enumerable: !0,
                        configurable: !0
                    },
                    pathname: {
                        get: function() {
                            return "/" !== u.pathname.charAt(0) ? "/" + u.pathname : u.pathname
                        },
                        set: function(e) {
                            u.pathname = e
                        },
                        enumerable: !0,
                        configurable: !0
                    },
                    search: {
                        get: function() {
                            return u.search
                        },
                        set: function(e) {
                            u.search !== e && (u.search = e, n(), s())
                        },
                        enumerable: !0,
                        configurable: !0
                    },
                    searchParams: {
                        get: function() {
                            return p
                        },
                        enumerable: !0,
                        configurable: !0
                    },
                    hash: {
                        get: function() {
                            return u.hash
                        },
                        set: function(e) {
                            u.hash = e, n()
                        },
                        enumerable: !0,
                        configurable: !0
                    },
                    toString: {
                        value: function() {
                            return u.toString()
                        },
                        enumerable: !1,
                        configurable: !0
                    },
                    valueOf: {
                        value: function() {
                            return u.valueOf()
                        },
                        enumerable: !1,
                        configurable: !0
                    }
                }), f
            }
            var c, l = e.URL;
            try {
                if (l) {
                    if ("searchParams" in (c = new e.URL("http://example.com"))) return;
                    "href" in c || (c = undefined)
                }
            } catch (p) {}
            if (Object.defineProperties(a.prototype, {
                    append: {
                        value: function(e, t) {
                            this._list.push({
                                name: e,
                                value: t
                            }), this._update_steps()
                        },
                        writable: !0,
                        enumerable: !0,
                        configurable: !0
                    },
                    get: {
                        value: function(e) {
                            for (var t = 0; t < this._list.length; ++t)
                                if (this._list[t].name === e) return this._list[t].value;
                            return null
                        },
                        writable: !0,
                        enumerable: !0,
                        configurable: !0
                    },
                    getAll: {
                        value: function(e) {
                            for (var t = [], r = 0; r < this._list.length; ++r) this._list[r].name === e && t.push(this._list[r].value);
                            return t
                        },
                        writable: !0,
                        enumerable: !0,
                        configurable: !0
                    },
                    has: {
                        value: function(e) {
                            for (var t = 0; t < this._list.length; ++t)
                                if (this._list[t].name === e) return !0;
                            return !1
                        },
                        writable: !0,
                        enumerable: !0,
                        configurable: !0
                    },
                    set: {
                        value: function(e, t) {
                            for (var r = !1, n = 0; n < this._list.length;) this._list[n].name === e ? r ? this._list.splice(n, 1) : (this._list[n].value = t, r = !0, ++n) : ++n;
                            r || this._list.push({
                                name: e,
                                value: t
                            }), this._update_steps()
                        },
                        writable: !0,
                        enumerable: !0,
                        configurable: !0
                    },
                    entries: {
                        value: function() {
                            return new s(this._list, "key+value")
                        },
                        writable: !0,
                        enumerable: !0,
                        configurable: !0
                    },
                    keys: {
                        value: function() {
                            return new s(this._list, "key")
                        },
                        writable: !0,
                        enumerable: !0,
                        configurable: !0
                    },
                    values: {
                        value: function() {
                            return new s(this._list, "value")
                        },
                        writable: !0,
                        enumerable: !0,
                        configurable: !0
                    },
                    forEach: {
                        value: function(e) {
                            var t = arguments.length > 1 ? arguments[1] : undefined;
                            this._list.forEach(function(r, n) {
                                e.call(t, r.value, r.name)
                            })
                        },
                        writable: !0,
                        enumerable: !0,
                        configurable: !0
                    },
                    toString: {
                        value: function() {
                            return n(this._list)
                        },
                        writable: !0,
                        enumerable: !1,
                        configurable: !0
                    }
                }), "Symbol" in e && "iterator" in e.Symbol && (Object.defineProperty(a.prototype, e.Symbol.iterator, {
                    value: a.prototype.entries,
                    writable: !0,
                    enumerable: !0,
                    configurable: !0
                }), Object.defineProperty(s.prototype, e.Symbol.iterator, {
                    value: function() {
                        return this
                    },
                    writable: !0,
                    enumerable: !0,
                    configurable: !0
                })), l)
                for (var f in l) l.hasOwnProperty(f) && "function" == typeof l[f] && (u[f] = l[f]);
            e.URL = u, e.URLSearchParams = a
        }(),
        function() {
            if ("1" !== new e.URLSearchParams([
                    ["a", 1]
                ]).get("a") || "1" !== new e.URLSearchParams({
                    a: 1
                }).get("a")) {
                var n = e.URLSearchParams;
                e.URLSearchParams = function(e) {
                    if (e && "object" == typeof e && t(e)) {
                        var o = new n;
                        return r(e).forEach(function(e) {
                            if (!t(e)) throw TypeError();
                            var n = r(e);
                            if (2 !== n.length) throw TypeError();
                            o.append(n[0], n[1])
                        }), o
                    }
                    return e && "object" == typeof e ? (o = new n, Object.keys(e).forEach(function(t) {
                        o.set(t, e[t])
                    }), o) : new n(e)
                }
            }
        }()
    }(self),
    function(e) {
        "use strict";

        function t(e) {
            if ((e = String(e)).match(/[^\x00-\xFF]/)) throw TypeError("Not a valid ByteString");
            return e
        }

        function r(e) {
            return (e = String(e)).replace(/([\u0000-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDFFF])/g, function(e) {
                return /^[\uD800-\uDFFF]$/.test(e) ? "�" : e
            })
        }

        function n(e) {
            return 65535 & e
        }

        function o(e) {
            return String(e).replace(/[a-z]/g, function(e) {
                return e.toUpperCase()
            })
        }

        function i(e) {
            return "CONNECT" === (e = o(e)) || "TRACE" === e || "TRACK" === e
        }

        function a(e) {
            var t = o(e);
            return "DELETE" === t || "GET" === t || "HEAD" === t || "OPTIONS" === t || "POST" === t || "PUT" === t ? t : e
        }

        function s(e) {
            return /^[!#$%&'*+\-.09A-Z^_`a-z|~]+$/.test(e)
        }

        function u(e) {
            return {
                "accept-charset": !0,
                "accept-encoding": !0,
                "access-control-request-headers": !0,
                "access-control-request-method": !0,
                connection: !0,
                "content-length": !0,
                cookie: !0,
                cookie2: !0,
                date: !0,
                dnt: !0,
                expect: !0,
                host: !0,
                "keep-alive": !0,
                origin: !0,
                referer: !0,
                te: !0,
                trailer: !0,
                "transfer-encoding": !0,
                upgrade: !0,
                "user-agent": !0,
                via: !0
            }[e = String(e).toLowerCase()] || "proxy-" === e.substring(0, 6) || "sec-" === e.substring(0, 4)
        }

        function c(e) {
            return {
                "set-cookie": !0,
                "set-cookie2": !0
            }[e = String(e).toLowerCase()]
        }

        function l(e, t) {
            return "accept" === (e = String(e).toLowerCase()) || "accept-language" === e || "content-language" === e || "content-type" === e && -1 !== ["application/x-www-form-encoded", "multipart/form-data", "text/plain"].indexOf(t)
        }

        function f(e) {
            this._guard = "none", this._headerList = [], e && p(this, e)
        }

        function p(e, t) {
            t instanceof f ? t._headerList.forEach(function(t) {
                e.append(t[0], t[1])
            }) : Array.isArray(t) ? t.forEach(function(t) {
                if (!Array.isArray(t) || 2 !== t.length) throw TypeError();
                e.append(t[0], t[1])
            }) : (t = Object(t), Object.keys(t).forEach(function(r) {
                e.append(r, t[r])
            }))
        }

        function h(e) {
            this._headers = e, this._index = 0
        }

        function d(e) {
            this._stream = e, this.bodyUsed = !1
        }

        function y(e, n) {
            if (arguments.length < 1) throw TypeError("Not enough arguments");
            if (d.call(this, null), this.method = "GET", this.url = "", this.headers = new f, this.headers._guard = "request", this.referrer = null, this.mode = null, this.credentials = "omit", e instanceof y) {
                if (e.bodyUsed) throw TypeError();
                e.bodyUsed = !0, this.method = e.method, this.url = e.url, this.headers = new f(e.headers), this.headers._guard = e.headers._guard, this.credentials = e.credentials, this._stream = e._stream
            } else e = r(e), this.url = String(new URL(e, self.location));
            if ("method" in (n = Object(n))) {
                var o = t(n.method);
                if (i(o)) throw TypeError();
                this.method = a(o)
            }
            "headers" in n && (this.headers = new f, p(this.headers, n.headers)), "body" in n && (this._stream = n.body), "credentials" in n && -1 !== ["omit", "same-origin", "include"].indexOf(n.credentials) && (this.credentials = n.credentials)
        }

        function g(e, t) {
            if (arguments.length < 1 && (e = ""), this.headers = new f, this.headers._guard = "response", e instanceof XMLHttpRequest && "_url" in e) {
                var o = e;
                return this.type = "basic", this.url = r(o._url), this.status = o.status, this.ok = 200 <= this.status && this.status <= 299, this.statusText = o.statusText, o.getAllResponseHeaders().split(/\r?\n/).filter(function(e) {
                    return e.length
                }).forEach(function(e) {
                    var t = e.indexOf(":");
                    this.headers.append(e.substring(0, t), e.substring(t + 2))
                }, this), void d.call(this, o.responseText)
            }
            d.call(this, e), t = Object(t) || {}, this.url = "";
            var i = "status" in t ? n(t.status) : 200;
            if (i < 200 || i > 599) throw RangeError();
            this.status = i, this.ok = 200 <= this.status && this.status <= 299;
            var a = "statusText" in t ? String(t.statusText) : "OK";
            if (/[^\x00-\xFF]/.test(a)) throw TypeError();
            this.statusText = a, "headers" in t && p(this.headers, t), this.type = "basic"
        }
        f.prototype = {
            append: function(e, r) {
                if (e = t(e), !s(e)) throw TypeError();
                if ("immutable" === this._guard) throw TypeError();
                "request" === this._guard && u(e) || ("request-no-CORS" !== this._guard || l(e, r)) && ("response" === this._guard && c(e) || (e = e.toLowerCase(), this._headerList.push([e, r])))
            },
            get: function(e) {
                if (e = t(e), !s(e)) throw TypeError();
                e = e.toLowerCase();
                for (var r = 0; r < this._headerList.length; ++r)
                    if (this._headerList[r][0] === e) return this._headerList[r][1];
                return null
            },
            getAll: function(e) {
                if (e = t(e), !s(e)) throw TypeError();
                e = e.toLowerCase();
                for (var r = [], n = 0; n < this._headerList.length; ++n) this._headerList[n][0] === e && r.push(this._headerList[n][1]);
                return r
            },
            has: function(e) {
                if (e = t(e), !s(e)) throw TypeError();
                e = e.toLowerCase();
                for (var r = 0; r < this._headerList.length; ++r)
                    if (this._headerList[r][0] === e) return !0;
                return !1
            },
            set: function(e, r) {
                if (e = t(e), !s(e)) throw TypeError();
                if ("immutable" === this._guard) throw TypeError();
                if (("request" !== this._guard || !u(e)) && ("request-no-CORS" !== this._guard || l(e, r)) && ("response" !== this._guard || !c(e))) {
                    e = e.toLowerCase();
                    for (var n = 0; n < this._headerList.length; ++n)
                        if (this._headerList[n][0] === e) {
                            for (this._headerList[n++][1] = r; n < this._headerList.length;) this._headerList[n][0] === e ? this._headerList.splice(n, 1) : ++n;
                            return
                        }
                    this._headerList.push([e, r])
                }
            }
        }, f.prototype[Symbol.iterator] = function() {
            return new h(this)
        }, (h.prototype = {}).next = function() {
            return this._index >= this._headers._headerList.length ? {
                value: undefined,
                done: !0
            } : {
                value: this._headers._headerList[this._index++],
                done: !1
            }
        }, h.prototype[Symbol.iterator] = function() {
            return this
        }, d.prototype = {
            arrayBuffer: function() {
                if (this.bodyUsed) return Promise.reject(TypeError());
                if (this.bodyUsed = !0, this._stream instanceof ArrayBuffer) return Promise.resolve(this._stream);
                var e = this._stream;
                return new Promise(function(t, r) {
                    var n = unescape(encodeURIComponent(e)).split("").map(function(e) {
                        return e.charCodeAt(0)
                    });
                    t(new Uint8Array(n).buffer)
                })
            },
            blob: function() {
                return this.bodyUsed ? Promise.reject(TypeError()) : (this.bodyUsed = !0, this._stream instanceof Blob ? Promise.resolve(this._stream) : Promise.resolve(new Blob([this._stream])))
            },
            formData: function() {
                return this.bodyUsed ? Promise.reject(TypeError()) : (this.bodyUsed = !0, this._stream instanceof FormData ? Promise.resolve(this._stream) : Promise.reject(Error("Not yet implemented")))
            },
            json: function() {
                if (this.bodyUsed) return Promise.reject(TypeError());
                this.bodyUsed = !0;
                var e = this;
                return new Promise(function(t, r) {
                    t(JSON.parse(e._stream))
                })
            },
            text: function() {
                return this.bodyUsed ? Promise.reject(TypeError()) : (this.bodyUsed = !0, Promise.resolve(String(this._stream)))
            }
        }, y.prototype = d.prototype, g.prototype = d.prototype, g.redirect = function() {
            throw Error("Not supported")
        }, "fetch" in e || (e.Headers = f, e.Request = y, e.Response = g, e.fetch = function(e, t) {
            return new Promise(function(r, n) {
                var o = new y(e, t),
                    i = new XMLHttpRequest;
                i._url = o.url;
                try {
                    i.open(o.method, o.url, !0)
                } catch (u) {
                    throw TypeError(u.message)
                }
                for (var a = o.headers[Symbol.iterator](), s = a.next(); !s.done; s = a.next()) i.setRequestHeader(s.value[0], s.value[1]);
                "include" === o.credentials && (i.withCredentials = !0), i.onreadystatechange = function() {
                    i.readyState === XMLHttpRequest.DONE && (0 === i.status ? n(new TypeError("Network error")) : r(new g(i)))
                }, i.send(o._stream)
            })
        })
    }(self);
var Yt = Yt || {};
Yt = {
    ajax: function(e) {
        var t = this,
            r = $.extend({
                url: "",
                data: "",
                type: "GET",
                dataType: "json",
                jsonp: null,
                async: !0,
                complete: null,
                success: null,
                fail: null,
                isLayer: !0,
                isHop: !0,
                timeout: 1e4,
                contentType: "application/x-www-form-urlencoded"
            }, e),
            n = null;
        r.isLayer && (n = setTimeout(function() {
            t.createOLayer()
        }, 600)), "string" == typeof r.data && (r.data = t.serializeObj(r.data)), r.data.source = "pc";
        var o = r.isHop ? t.handlerAjaxData(r.url, r.data) : r.data;
        $.ajax({
            type: r.type,
            url: r.url,
            data: o,
            jsonp: r.jsonp,
            async: r.async,
            dataType: r.dataType,
            timeout: r.timeout,
            contentType: r.contentType,
            complete: function(e, t) {
                r.isLayer && (n && clearTimeout(n), $("#ajaxLoadingLayer").remove()), r.complete && r.complete()
            },
            success: function(e, n, o) {
                if ("NO_LOGIN_SESSION" != e.message)
                    if (e.success || "jsonp" === r.dataType) {
                        if (!e) return !1;
                        r.success(e)
                    } else {
                        if (401 == e.code) return void(location.href = "http://mall.hipac.cn/mall/view/error/noPermission.html");
                        r.fail ? r.fail(e) : 500 != e.code || e.message ? t.tips('<span class="cor-red">' + e.message + "</span>") : t.tips('<span class="cor-red">后端程序出错, 请联系管理员!</span>')
                    }
                else location.href = $("body").attr("data-mallenv") + "/pub/login/login.do?action=login&url=" + location.href
            },
            error: function(e, r, n) {
                return "abort" != r && ("404" == e.status ? (t.tips('<span class="cor-red">网络连接不通或访问地址不存在！</span>'), !1) : "500" == e.status ? (t.tips('<span class="cor-red">后端程序出错, 请联系管理员!！</span>'), !1) : void("401" == e.status || null != e.responseText && "_INVALID_POST" == e.responseText ? t.tips("很抱歉,您没有权限访问该页面...") : null != e.responseText && "_NO_LOGIN_SESSION" == e.responseText ? t.tips("很抱歉,登录已经超时,即将跳转到登录页面...", function() {
                    window.location.href = "/pub/login/login.do"
                }) : t.tips(e.status + " 很抱歉,提交数据发生了错误,请联系系统管理员...")))
            }
        })
    },
    handlerAjaxData: function(e, t) {
        "string" == typeof t && (t = this.serializeObj(t));
        var r = e.split("/"),
            n = r.length,
            o = r[n - 2],
            i = r[n - 3],
            a = {
                appKey: "1300",
                os: this.getOS(),
                t: (new Date).getTime()
            },
            s = md5(a.appKey) + "&" + o + "&" + i + "&" + md5(JSON.stringify(t)) + "&" + a.t;
        return a.sign = md5(s), a.data = JSON.stringify(t), a
    },
    createOLayer: function() {
        if (0 === $("#ajaxLoadingLayer").length) {
            $("body").append($('<div id="ajaxLoadingLayer"><div class="o-layer" ></div><div class="wait-layer" >请稍等,处理中...</div></div>'))
        }
    },
    get: function(e, t, r, n, o) {
        this.ajax({
            url: e,
            data: t,
            type: "GET",
            success: r,
            complete: n,
            isLayer: o
        })
    },
    post: function(e, t, r, n, o) {
        this.ajax({
            url: e,
            data: t,
            type: "POST",
            success: r,
            complete: n,
            isLayer: o
        })
    },
    alert: function(e, t, r, n) {
        r = r || 40, n = n || "确定";
        var o = dialog({
            title: "温馨提示",
            content: e,
            width: 350,
            height: r,
            fixed: !0,
            okValue: n,
            ok: function() {
                t ? t() : o.close().remove()
            }
        });
        o.showModal()
    },
    confirm: function(e, t, r) {
        r = r || 40;
        var n = dialog({
            title: "温馨提示",
            content: e,
            width: 350,
            height: r,
            fixed: !0,
            okValue: "确&nbsp;&nbsp;定",
            cancelValue: "取&nbsp;&nbsp;消",
            cancel: function() {
                n.close().remove()
            },
            ok: function() {
                t && t()
            }
        });
        n.showModal()
    },
    tips: function(e, t, r) {
        r = r || 2e3;
        var n = dialog({
            content: e,
            autofocus: !1
        });
        n.show(), setTimeout(function() {
            t && t(), n.close().remove()
        }, r)
    },
    render: function(e, t) {
        if ("undefined" != typeof doT) return doT.template(e)(t)
    },
    getBrandCateList: function(e) {
        var t = $.extend({
                wrap: null,
                brandUrl: "",
                cateUrl: "",
                cateData: null,
                goodsUrl: "",
                brandDef: "",
                cateDef: "",
                goodsDef: "",
                channel: "",
                isHasGoodsSel: !0,
                chageCallback: null,
                detafultTexts: ["--请选择类目--", "--请选择品牌--", "--请选择商品--"],
                dataCallback: function() {}
            }, e || {}),
            r = this,
            n = t.wrap,
            o = n.find("select:eq(0)"),
            i = n.find("select:eq(1)"),
            a = n.find("select:eq(2)");
        r.generateSelect({
            target: o,
            url: t.cateUrl,
            data: t.cateData,
            defVal: t.cateDef,
            defText: t.detafultTexts[0],
            chageCallback: function(e) {
                i.html('<option value="">' + t.detafultTexts[1] + "</option>"), a.html('<option value="">' + t.detafultTexts[2] + "</option>"), r.resetPrice(), t.chageCallback && t.chageCallback(e, 0), r.generateSelect({
                    target: i,
                    url: t.brandUrl,
                    data: {
                        cateId: o.val()
                    },
                    defVal: t.brandDef,
                    defText: t.detafultTexts[1],
                    chageCallback: function(e) {
                        t.chageCallback && t.chageCallback(e, 1), a.html('<option value="">' + t.detafultTexts[2] + "</option>"), r.resetPrice(), t.isHasGoodsSel && r.generateSelect({
                            target: a,
                            url: t.goodsUrl,
                            data: {
                                cateId: o.val(),
                                brandId: i.val(),
                                channel: t.channel
                            },
                            field: "stock prompt",
                            defVal: t.goodsDef,
                            defText: t.detafultTexts[2],
                            chageCallback: function(e, r) {
                                t.chageCallback && t.chageCallback(e, 2), t.dataCallback.call(a, r), t.brandDef = "", t.goodsDef = "", t.cateDef = ""
                            }
                        })
                    }
                })
            }
        })
    },
    resetPrice: function() {
        $("#specWrap").html('<a class="b-disable-btn">请先选择商品信息</a>'), $("#totalPrice").text("0.00"), $("#singlePrice").text("0.00"), $("#goodsPicUl").html('<li><div class="b-1 w-100px h-100px lh-100px ta-c cor-c">请选择商品信息</div></li>')
    },
    generateSelect: function(e) {
        var t = $.extend({
                target: null,
                url: "",
                data: "",
                displayField: "name",
                field: "",
                defVal: "",
                defText: null,
                isHasChange: !0,
                chageCallback: function() {},
                callback: function() {}
            }, e || {}),
            r = t.target,
            n = null,
            o = "",
            i = "",
            a = "";
        if (!t.target) return !1;
        this.post(t.url, t.data, function(e) {
            o = "", n = e.data, o += '<option value="">' + t.defText + "</option>";
            for (var s = 0; s < n.length; s++) t.field && (a = t.field.split(" "), i = "", $.each(a, function() {
                i += " data-" + this + "=" + n[s][this]
            })), o += '<option value="' + n[s].id + '" ' + i + ">" + n[s][t.displayField] + "</option>";
            r.html(o), r.off("change").on("change", function() {
                t.chageCallback(r, n)
            }), t.defVal && setTimeout(function() {
                r.val(t.defVal), t.isHasChange && r.change()
            }, 1), t.callback(r, n)
        })
    },
    formatDate: function(e, t) {
        var r = {
            "M+": e.getMonth() + 1,
            "d+": e.getDate(),
            "h+": e.getHours(),
            "m+": e.getMinutes(),
            "s+": e.getSeconds(),
            "q+": Math.floor((e.getMonth() + 3) / 3),
            S: e.getMilliseconds()
        };
        /(y+)/.test(t) && (t = t.replace(RegExp.$1, (e.getFullYear() + "").substr(4 - RegExp.$1.length)));
        for (var n in r) new RegExp("(" + n + ")").test(t) && (t = t.replace(RegExp.$1, 1 === RegExp.$1.length ? r[n] : ("00" + r[n]).substr(("" + r[n]).length)));
        return t
    },
    _checkTime: function(e) {
        return e < 10 && (e = "0" + e), e
    },
    formateTime: function(e, t, r, n) {
        var o = parseInt(e / 1e3 / 60 / 60 / 24, 10),
            i = parseInt(e / 1e3 / 60 / 60 % 24, 10),
            a = parseInt(e / 1e3 / 60 % 60, 10),
            s = parseInt(e / 1e3 % 60, 10),
            u = parseInt(e / 100 % 10, 10);
        if (o = this._checkTime(o), i = this._checkTime(i), a = this._checkTime(a), s = this._checkTime(s), r) c = 100 === n ? r(o, i, a, s, u) : r(o, i, a, s);
        else if (100 === n) c = o + " 天 " + i + " 时 " + a + " 分 " + s + " 秒 " + u;
        else var c = o + " 天 " + i + " 时 " + a + " 分 " + s + " 秒";
        if (!t) return c;
        t.html(c)
    },
    timeCountDown: function(e, t, r, n, o, i) {
        var a, s = this,
            o = o || 1e3;
        if (t <= 0) return !1;
        var u = setInterval(function() {
            (a = !0 === i ? t - (new Date).getTime() - o : t -= o) <= 0 ? (clearInterval(u), s.formateTime(0, e, n, o), r && r()) : s.formateTime(a, e, n, o)
        }, o)
    },
    getDate: function(e) {
        var t = (new Date).getTime() + 864e5;
        return this.formatDate(new Date(t - 24 * e * 60 * 60 * 1e3), "yyyy-MM-dd")
    },
    getWebp: function() {
        if (!window.localStorage || "object" != typeof localStorage) return "";
        var e = "webpa";
        if (!localStorage.getItem(e) || "available" !== localStorage.getItem(e) && "disable" !== localStorage.getItem(e)) {
            var t = document.createElement("img");
            t.onload = function() {
                try {
                    return localStorage.setItem(e, "available"), ".webp"
                } catch (t) {
                    return ""
                }
            }, t.onerror = function() {
                try {
                    return localStorage.setItem(e, "disable"), ".webp"
                } catch (t) {
                    return ""
                }
            }, t.src = ""
        }
        return "available" === localStorage.getItem(e) ? ".webp" : ""
    },
    checkboxSelectAll: function(e) {
        var t = $(".selectAll");
        e.on("click", ".jt-checkbox", function() {
            e.find(".jt-checkbox").length === e.find(".jt-checkbox:checked").length ? t.prop("checked", !0) : t.prop("checked", !1)
        }), t.on("click", function() {
            e.find(".jt-checkbox").prop("checked", $(this).prop("checked")), t.prop("checked", $(this).prop("checked"))
        })
    },
    record: "",
    checkDecimal: function(e) {
        var t = this,
            r = /^\d{0,8}\.{0,1}(\d{1,2})?$/;
        "" != e.value && r.test(e.value) ? t.record = e.value : "" != e.value && (e.value = t.record)
    },
    banDeliveryAddress: ["进口", "超市", "免税", "宝贝", "宝宝", "母婴", "孕婴", "生活馆", "贝贝", "孕婴", "妈咪", "商店", "商场", "商城", "门店", "直营", "连锁"],
    banDeliveryAddressChar: ["，", "。", ",", ".", "/", "?", ";", ":", '"', "!", "@", "~", "$", "%", "*", "&"],
    validateDeliveryAddress: function(e) {
        var t, r = this,
            n = "",
            o = "",
            i = e.tips || "收货地址",
            a = e.deliveryAddress,
            s = e.banAddress || r.banDeliveryAddress;
        for (t = 0; t < s.length; t++) n = s[t], -1 !== a.indexOf(n) && (o.length > 0 ? o = o + "、" + n : o += n);
        if (o.length > 0) return Yt.tips('<span class="cor-red">您的' + i + "含有" + o + ",可能会造成清关不通过,建议您修改</span>", null, 3e3), !1;
        for (t = 0; t < r.banDeliveryAddressChar.length; t++)
            if (n = r.banDeliveryAddressChar[t], -1 !== a.indexOf(n)) return Yt.tips('<span class="cor-red">您的' + i + "含有" + n + "等特殊字符，请修改</span>", null, 3e3), !1;
        return !0
    },
    nameFilterArr: ["大", "小", "一", "二", "三", "四", "五", "六", "七", "八", "九", "十"],
    validateName: function(e, t) {
        return !(!/^[\u4e00-\u9fa5]{2,6}$/.test(e) || -1 !== $.inArray(e.substring(0, 1), this.nameFilterArr)) || (Yt.tips("<span class='cor-red'>" + t + "</span>"), !1)
    },
    getAllParams: function() {
        var e = window.location.href,
            t = e.indexOf("?");
        return e.substr(t + 1)
    },
    getQueryString: function(e) {
        var t = new RegExp("(^|&)" + e + "=([^&]*)(&|$)"),
            r = window.location.search.substr(1).match(t);
        return null !== r ? decodeURI(r[2]) : ""
    },
    getQueryStringAll: function(e) {
        if (window.location.search) {
            var t = '{"' + window.location.search.substr(1).replace(/&/g, '","').replace(/=/g, '":"') + '"}';
            return JSON.parse(t)
        }
    },
    getCookie: function(e) {
        var t, r = new RegExp("(^| )" + e + "=([^;]*)(;|$)");
        return (t = document.cookie.match(r)) ? unescape(t[2]) : null
    },
    serializeObj: function(e) {
        if (!e) return {};
        for (var t = (e = e.replace(/\+/gi, " ")).split("&"), r = {}, n = "", o = "", i = null, a = 0; a < t.length; a++)
            if (i = t[a].split("="), n = decodeURIComponent(i[0]), o = decodeURIComponent(i[1]), r.hasOwnProperty(n))
                if ($.isArray(r[n])) r[n].push(o);
                else {
                    var s = [r[n]];
                    s.push(o), r[n] = s
                }
        else r[n] = o;
        return r
    },
    getTopModulesessionStorage: function(e) {
        if (sessionStorage) {
            var t = sessionStorage.getItem(e);
            if (t) return JSON.parse(t)
        }
        return null
    },
    isUseCacheData: function(e, t) {
        (t = t || {}).sessionCacheTimer = t.sessionCacheTimer || 3e5;
        var r = this.getTopModulesessionStorage(e);
        if (r) {
            if ((new Date).getTime() - r.timerStr - t.sessionCacheTimer < 0) return r;
            sessionStorage.removeItem(e)
        }
        return null
    },
    getOS: function() {
        var e = navigator.userAgent,
            t = e.indexOf("Opera") > -1,
            r = !!window.ActiveXObject || "ActiveXObject" in window,
            n = e.indexOf("Windows NT 6.1; Trident/7.0;") > -1 && !r,
            o = e.indexOf("Firefox") > -1,
            i = e.indexOf("Safari") > -1 && -1 == e.indexOf("Chrome"),
            a = e.indexOf("Chrome") > -1 && e.indexOf("Safari") > -1,
            s = e.indexOf("MicroMessenger") > -1;
        if (r) {
            new RegExp("MSIE (\\d+\\.\\d+);").test(e);
            var u = parseFloat(RegExp.$1);
            return 7 == u ? "IE7" : 8 == u ? "IE8" : 9 == u ? "IE9" : 10 == u ? "IE10" : 11 == u || "ActiveXObject" in window ? "IE11" : "0"
        }
        return o ? "FF" : t ? "Opera" : i ? "Safari" : a ? "Chrome" : n ? "Edge" : s ? "wx" : "unknow"
    }
}, $(function() {
    var e = Yt.getQueryString("rp") || "";
    if (e && e.length) {
        var t = e.split(".");
        e = t[0] + "." + t[1] + "." + t[2] + "." + t[3] + "." + (t[4] || "")
    }
    e.indexOf("900") >= 0 && localStorage.setItem("rpId", e)
});
var VALIDATE_KET = "yt-validate",
    validateData = {
        number: /^[0-9]+.?[0-9]*$/,
        iphone: /^(((13[0-9]{1})|(15[0-9]{1})|(18[0-9]{1}))+\d{8})$/
    };
$.fn.formValidate = function() {
    var e = $(this).find("input[" + VALIDATE_KET + "],textarea[" + VALIDATE_KET + "]"),
        t = !0;
    return $.each(e, function(e, r) {
        var n = $(r),
            o = n.val(),
            i = n.attr(VALIDATE_KET) || n.prop(VALIDATE_KET);
        if (i && "undefined" != i && "null" != i && !validate(i, o)) return t = !1, !1
    }), t
};